home *** CD-ROM | disk | FTP | other *** search
- /*
- * dynamic strings
- * March 1989, Miles Bader
- */
-
- struct dstr {
- int max,len;
- char *buf;
- };
-
- struct dstr *dstr_Create();
- void dstr_Free();
- void dstr_Clear();
- void dstr_Set();
- void dstr_Append();
- void dstr_Addf();
-
- #define dstr_GetBuf(d) ((d)->buf)
- #define dstr_GetLen(d) ((d)->len)
-