/[muddleftpd]/muddleftpd/src/string.h
ViewVC logotype

Diff of /muddleftpd/src/string.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ganneff, Thu Sep 26 07:55:42 2002 UTC revision 1.1.6.1 by ganneff, Mon Oct 21 19:52:59 2002 UTC
# Line 1  Line 1 
1  typedef struct  typedef struct
2  {  {
3          int strlen;          int strlen;
4  } STRING;  }
5    STRING;
6    
7  #define MINLEN 4096  #define MINLEN 4096
8  #define STRTOCHAR(a)            ((char *)(a) + sizeof(STRING))  #define STRTOCHAR(a)            ((char *)(a) + sizeof(STRING))
# Line 10  typedef        struct Line 11  typedef        struct
11  #define STRLENGTH(a)            ((a)->strlen)  #define STRLENGTH(a)            ((a)->strlen)
12    
13  STRING *string_new(void);  STRING *string_new(void);
14  void string_cat(STRING **s, char *catstr, int len);  void string_cat(STRING ** s,
15  void string_clear(STRING **s);                                  char *catstr,
16  void string_dropfront(STRING **s, int nchars);                                  int len);
17  void string_catvprintf(STRING **s, char *format, va_list ap);  void string_clear(STRING ** s);
18  void string_catprintf(STRING **s, char *format, ...);  void string_dropfront(STRING ** s,
19  void string_filterbadchars(STRING **s, int start);                                            int nchars);
20    void string_catvprintf(STRING ** s,
21                                               char *format,
22                                               va_list ap);
23    void string_catprintf(STRING ** s,
24                                              char *format,
25                                              ...);
26    void string_filterbadchars(STRING ** s,
27                                                       int start);

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.1.6.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26