|
|
1.1 ! root 1: /* mosy.h - include file for MOSY users */ ! 2: ! 3: /* ! 4: * $Header: /f/osi/others/mosy/RCS/mosy.h,v 7.0 89/11/23 22:00:41 mrose Rel $ ! 5: * ! 6: * ! 7: * $Log: mosy.h,v $ ! 8: * Revision 7.0 89/11/23 22:00:41 mrose ! 9: * Release 6.0 ! 10: * ! 11: */ ! 12: ! 13: /* ! 14: * NOTICE ! 15: * ! 16: * Acquisition, use, and distribution of this module and related ! 17: * materials are subject to the restrictions of a license agreement. ! 18: * Consult the Preface in the User's Manual for the full terms of ! 19: * this agreement. ! 20: * ! 21: */ ! 22: ! 23: ! 24: #ifndef _MOSY_ ! 25: #define _MOSY_ ! 26: ! 27: #include "manifest.h" ! 28: #include "general.h" ! 29: ! 30: #include "psap.h" /* definitions for PS-USERs */ ! 31: ! 32: /* */ ! 33: ! 34: typedef struct object_type { ! 35: char *ot_text; /* OBJECT DESCRIPTOR */ ! 36: char *ot_id; /* OBJECT IDENTIFIER */ ! 37: OID ot_name; /* .. */ ! 38: ! 39: IFP ot_encode; /* encodes type */ ! 40: IFP ot_decode; /* decodes .. */ ! 41: IFP ot_print; /* prints .. */ ! 42: IFP ot_free; /* frees .. */ ! 43: ! 44: struct object_type *ot_chain; /* hash-bucket for text2obj */ ! 45: ! 46: struct object_type *ot_sibling; /* linked-list for name2obj */ ! 47: struct object_type *ot_children; /* .. */ ! 48: } object_type, *OT; ! 49: #define NULLOT ((OT) 0) ! 50: ! 51: OT name2obj (), text2obj (); ! 52: ! 53: ! 54: struct object_name { ! 55: char *on_name; /* OBJECT DESCRIPTOR */ ! 56: char *on_value; /* OBJECT IDENTIFIER */ ! 57: }; ! 58: ! 59: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.