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.21 2006/07/05 02:17:09 mast Exp $ + || $Id: dynamic_buffer.h,v 1.22 2008/07/16 01:08:05 mast Exp $   */      #ifndef DYNAMIC_BUFFER_H   #define DYNAMIC_BUFFER_H      #define BUFFER_BEGIN_SIZE 4080      struct dynbuf_string_s   {    char *str;
pike.git/src/dynamic_buffer.h:22:   {    dynbuf_string s;    SIZE_T bufsize;   };      typedef struct dynamic_buffer_s dynamic_buffer;      PMOD_EXPORT extern dynamic_buffer pike_global_buffer;      /* Prototypes begin here */ - PMOD_EXPORT char *low_make_buf_space(size_t space, dynamic_buffer *buf); + PMOD_EXPORT char *low_make_buf_space(ptrdiff_t space, dynamic_buffer *buf);   PMOD_EXPORT void low_my_putchar(int b,dynamic_buffer *buf);   PMOD_EXPORT void low_my_binary_strcat(const char *b, size_t l, dynamic_buffer *buf);   PMOD_EXPORT void debug_initialize_buf(dynamic_buffer *buf);   PMOD_EXPORT void low_reinit_buf(dynamic_buffer *buf);   PMOD_EXPORT void low_init_buf_with_string(dynbuf_string s, dynamic_buffer *buf);   PMOD_EXPORT void toss_buffer(dynamic_buffer *buf);   PMOD_EXPORT struct pike_string *debug_low_free_buf(dynamic_buffer *buf);      PMOD_EXPORT dynbuf_string complex_free_buf(dynamic_buffer *old_buf);   PMOD_EXPORT char *simple_free_buf(dynamic_buffer *old_buf);