projects
/
idzebra-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
add0a7a
)
Minimal
author
Sebastian Hammer
<quinn@indexdata.com>
Thu, 20 Oct 1994 17:36:06 +0000
(17:36 +0000)
committer
Sebastian Hammer
<quinn@indexdata.com>
Thu, 20 Oct 1994 17:36:06 +0000
(17:36 +0000)
include/str.h
patch
|
blob
|
history
diff --git
a/include/str.h
b/include/str.h
index
01a3fbd
..
38c92cb
100644
(file)
--- a/
include/str.h
+++ b/
include/str.h
@@
-4,7
+4,10
@@
* Sebastian Hammer, Adam Dickmeiss
*
* $Log: str.h,v $
* 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
*
*/
* String-management system
*
*/
@@
-12,4
+15,22
@@
#ifndef STR_H
#define STR_H
#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
#endif