pike.git / src / dynamic_buffer.h

version» Context lines:

pike.git/src/dynamic_buffer.h:1:   /*\   ||| This file is part of Pike. For copyright information see COPYRIGHT.   ||| Pike is distributed under GPL, LGPL and MPL. See the file COPYING   ||| for more information.   \*/      /* -  * $Id: dynamic_buffer.h,v 1.13 2002/05/31 22:41:23 nilsson Exp $ +  * $Id: dynamic_buffer.h,v 1.14 2002/10/06 12:58:26 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:37:   PMOD_EXPORT void low_init_buf_with_string(string s, dynamic_buffer *buf);   PMOD_EXPORT string complex_free_buf(void);   PMOD_EXPORT void toss_buffer(dynamic_buffer *buf);   PMOD_EXPORT char *simple_free_buf(void);   PMOD_EXPORT struct pike_string *debug_low_free_buf(dynamic_buffer *buf);   PMOD_EXPORT struct pike_string *debug_free_buf(void);   PMOD_EXPORT char *make_buf_space(INT32 space);   PMOD_EXPORT void my_putchar(char b);   PMOD_EXPORT void my_binary_strcat(const char *b, ptrdiff_t l);   PMOD_EXPORT void my_strcat(const char *b); + PMOD_EXPORT void initialize_global_buf(void);   PMOD_EXPORT void init_buf(void);   PMOD_EXPORT void init_buf_with_string(string s);   PMOD_EXPORT char *debug_return_buf(void);   /* Prototypes end here */      #ifdef DEBUG_MALLOC   #define initialize_buf(X) \    do { dynamic_buffer *b_=(X); debug_initialize_buf(b_); \    debug_malloc_touch(b_->s.str); } while(0)   #define low_free_buf(X) \