Skip to content
Snippets Groups Projects
Select Git revision
  • fefaf689d180c0691de5fa3e84e45e3fc84d0c07
  • master default
  • dbck-q-n-d-link
  • foutput-text_stat-override
  • generations
  • text-stat-sha256
  • use-nettle
  • import-nettle
  • refactor-cached_get_text
  • refactor-cached_get_text-part-2
  • add-text_store
  • introduce-generation_position
  • remove-reclamation
  • dbfile-temp-filenames
  • sstrdup
  • dbfile_open_read-check-magic
  • adns_dist
  • liboop_dist
  • search
  • isc
  • dbdbckmultiplechoice
  • last.cvs.revision
  • 2.1.2
  • 2.1.1
  • 2.1.0
  • adns_1_0
  • liboop_0_9
  • 2.0.7
  • search_bp
  • 2.0.6
  • 2.0.5
  • isc_1_01
  • Protocol-A-10.4
  • 2.0.4
  • 2.0.3
  • 2.0.2
  • 2.0.1
  • 2.0.0
  • isc_1_00
  • isc_merge_1999_05_01
  • isc_merge_1999_04_21
41 results

ram-output.c

Blame
  • dynamic_buffer.h 1.21 KiB
    /*\
    ||| This file a part of uLPC, and is copyright by Fredrik Hubinette
    ||| uLPC is distributed as GPL (General Public License)
    ||| See the files COPYING and DISCLAIMER for more information.
    \*/
    #ifndef DYNAMIC_BUFFER_H
    #define DYNAMIC_BUFFER_H
    
    #define BUFFER_BEGIN_SIZE 4080
    
    #include "types.h"
    
    struct string_s
    {
      char *str;
      SIZE_T len;
    };
    
    typedef struct string_s string;
    
    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);
    void low_my_putchar(char b,dynamic_buffer *buf);
    void low_my_binary_strcat(const char *b,INT32 l,dynamic_buffer *buf);
    void low_init_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 lpc_string *low_free_buf(dynamic_buffer *buf);
    struct lpc_string *free_buf(void);
    char *make_buf_space(INT32 space);
    void my_putchar(char b);
    void my_binary_strcat(const char *b,INT32 l);
    void my_strcat(const char *b);
    void init_buf(void);
    void init_buf_with_string(string s);
    char *return_buf(void);
    /* Prototypes end here */
    
    #endif