From: Sebastian Hammer Date: Thu, 20 Oct 1994 17:36:06 +0000 (+0000) Subject: Minimal X-Git-Tag: ZEBRA.1.0~812 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=54c25812d73fbe88953c635cca7448dc717a7c16;p=idzebra-moved-to-github.git Minimal --- diff --git a/include/str.h b/include/str.h index 01a3fbd..38c92cb 100644 --- a/include/str.h +++ b/include/str.h @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: str.h,v $ - * Revision 1.1 1994-10-20 13:46:36 quinn + * Revision 1.2 1994-10-20 17:36:06 quinn + * Minimal + * + * Revision 1.1 1994/10/20 13:46:36 quinn * String-management system * */ @@ -12,4 +15,22 @@ #ifndef STR_H #define STR_H +typedef struct str_index +{ + int size; + char *data; +} str_index; + +typedef struct strings_data +{ + str_index *index; + int num_index; + char *bulk; +} strings_data, *STRINGS; + +STRINGS str_open(char *lang, char *name); +void str_close(STRINGS st); +char *str(STRINGS st, int num); +char *strf(STRINGS st, int num, ...); + #endif