From 54c25812d73fbe88953c635cca7448dc717a7c16 Mon Sep 17 00:00:00 2001 From: Sebastian Hammer Date: Thu, 20 Oct 1994 17:36:06 +0000 Subject: [PATCH] Minimal --- include/str.h | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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 -- 1.7.10.4