ARPDAS_QNX6 1.0
|
00001 /* ll_of_str.h Defines a linked list of string data type 00002 * $Log: ll_of_str.h,v $ 00003 * Revision 1.2 2001/12/04 15:06:04 nort 00004 * Debugging, etc. 00005 * 00006 * Revision 1.1 1994/11/22 14:56:13 nort 00007 * Initial revision 00008 * 00009 */ 00010 #ifndef _LLOFSTR_INCLUDED 00011 #define _LLOFSTR_INCLUDED 00012 00013 struct llosleaf { 00014 struct llosleaf *next; 00015 char *text; 00016 }; 00017 00018 typedef struct { 00019 struct llosleaf *first; 00020 struct llosleaf *last; 00021 } ll_of_str; 00022 00023 #ifdef __cplusplus 00024 extern "C" { 00025 #endif 00026 00027 void llos_enq(ll_of_str *ll, const char *str); 00028 char *llos_deq(ll_of_str *ll); 00029 00030 #ifdef __cplusplus 00031 }; 00032 #endif 00033 00034 #if defined __386__ 00035 # pragma library (nortlib3r) 00036 #elif defined __SMALL__ 00037 # pragma library (nortlibs) 00038 #elif defined __COMPACT__ 00039 # pragma library (nortlibc) 00040 #elif defined __MEDIUM__ 00041 # pragma library (nortlibm) 00042 #elif defined __LARGE__ 00043 # pragma library (nortlibl) 00044 # endif 00045 00046 #endif