ArchWizard

DGD/

source navigation ]
diff markup ]
identifier search ]
file search ]
Version: [ 1.0.a0 ] [ 1.1 ] [ 1.2 ] [ 1.2p1 ] [ 1.2p2 ] [ 1.2p3 ] [ 1.2p4 ] [ 1.2.151 ]

  1 struct _string_ {
  2     struct _strref_ *primary;   /* primary reference */
  3     Uint ref;                   /* number of references + const bit */
  4     ssizet len;                 /* string length */
  5     char text[1];               /* actual characters following this struct */
  6 };
  7 
  8 extern void             str_init        P((void));
  9 extern string          *str_alloc       P((char*, long));
 10 extern string          *str_new         P((char*, long));
 11 # define str_ref(s)     ((s)->ref++)
 12 extern void             str_del         P((string*));
 13 
 14 extern Uint             str_put         P((string*, Uint));
 15 extern void             str_clear       P((void));
 16 
 17 extern int              str_cmp         P((string*, string*));
 18 extern string          *str_add         P((string*, string*));
 19 extern ssizet           str_index       P((string*, long));
 20 extern void             str_ckrange     P((string*, long, long));
 21 extern string          *str_range       P((string*, long, long));
 22 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.