pike.git / src / dynamic_buffer.h

version» Context lines:

pike.git/src/dynamic_buffer.h:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/      /* -  * $Id: dynamic_buffer.h,v 1.8 2000/03/26 14:18:12 grubba Exp $ +  * $Id: dynamic_buffer.h,v 1.9 2000/08/04 10:59:22 grubba Exp $    */   #ifndef DYNAMIC_BUFFER_H   #define DYNAMIC_BUFFER_H      #define BUFFER_BEGIN_SIZE 4080      struct string_s   {    char *str;    SIZE_T len;
pike.git/src/dynamic_buffer.h:22:      struct dynamic_buffer_s   {    string s;    SIZE_T bufsize;   };      typedef struct dynamic_buffer_s dynamic_buffer;      /* Prototypes begin here */ - char *low_make_buf_space(INT32 space, dynamic_buffer *buf); + char *low_make_buf_space(size_t space, dynamic_buffer *buf);   void low_my_putchar(char b,dynamic_buffer *buf); - void low_my_binary_strcat(const char *b,INT32 l,dynamic_buffer *buf); + void low_my_binary_strcat(const char *b, size_t l, dynamic_buffer *buf);   void debug_initialize_buf(dynamic_buffer *buf);   void low_reinit_buf(dynamic_buffer *buf);   void low_init_buf_with_string(string s, dynamic_buffer *buf);   string complex_free_buf(void);   void toss_buffer(dynamic_buffer *buf);   char *simple_free_buf(void);   struct pike_string *debug_low_free_buf(dynamic_buffer *buf);   struct pike_string *debug_free_buf(void);   char *make_buf_space(INT32 space);   void my_putchar(char b);