home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.muug.mb.ca
/
2014.06.ftp.muug.mb.ca.tar
/
ftp.muug.mb.ca
/
pub
/
src
/
gopher
/
gopher1.01
/
object
/
STRstring.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-04-13
|
425b
|
24 lines
/*
* This is a funky dynamic string written in c....
*/
#ifndef STRstring_H
#define STRstring_H
struct string_struct {
int len;
char *data;
};
typedef struct string_struct String;
String *STRnew();
void STRinit(/* String* */);
void STRset(/* String*, char* */);
void STRdestroy(/* String* */);
#define STRget(s) ((s)->data)
#define STRlen(s) ((s)->len)
String* STRcat();
int STRcmp();
#endif