1997-11-06 05:38:25 +08:00
|
|
|
#ifndef STRING_IO_H
|
|
|
|
#define STRING_IO_H
|
|
|
|
|
2000-04-13 01:17:23 +08:00
|
|
|
unsigned char *string_output(unsigned char *data, int size);
|
|
|
|
unsigned char *string_input(unsigned char *str, int size, int hdrsize,
|
|
|
|
int *rtn_size);
|
|
|
|
unsigned char *c_charout(int32 c);
|
|
|
|
unsigned char *c_textout(struct varlena * vlena);
|
|
|
|
unsigned char *c_varcharout(unsigned char *s);
|
1997-11-06 05:38:25 +08:00
|
|
|
|
|
|
|
#if 0
|
2000-04-13 01:17:23 +08:00
|
|
|
struct varlena *c_textin(unsigned char *str);
|
|
|
|
int32 *
|
|
|
|
c_charin(unsigned char *str)
|
1997-11-06 05:38:25 +08:00
|
|
|
#endif
|
|
|
|
#endif
|
1998-08-31 03:37:51 +08:00
|
|
|
|
|
|
|
/*
|
1999-06-06 03:09:48 +08:00
|
|
|
* Local Variables:
|
2000-04-13 01:17:23 +08:00
|
|
|
* tab-width: 4
|
|
|
|
* c-indent-level: 4
|
|
|
|
* c-basic-offset: 4
|
1998-08-31 03:37:51 +08:00
|
|
|
* End:
|
|
|
|
*/
|