ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/emman.h
Revision: 1.1
Committed: Thu Jun 28 15:19:15 2012 UTC (11 years, 10 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rxvt-unicode-rel-9_16, rxvt-unicode-rel-9_19, rxvt-unicode-rel-9_18, rxvt-unicode-rel-9_29, rxvt-unicode-rel-9_26, rxvt-unicode-rel-9_17, rxvt-unicode-rel-9_25, rxvt-unicode-rel-9_22, rxvt-unicode-rel-9_30, rxvt-unicode-rel-9_20, rxvt-unicode-rel-9_21, HEAD
Log Message:
add emman.h/c and use it for scrollback

File Contents

# User Rev Content
1 root 1.1 #ifndef EMMAN_H_
2     #define EMMAN_H_
3    
4     #include <stddef.h>
5    
6     #if __cplusplus
7     extern "C" {
8     #endif
9    
10     size_t chunk_round (size_t size);
11     size_t chunk_fit (size_t header, size_t element_size, size_t max_increase);
12     void *chunk_alloc (size_t size, int populate);
13     void *chunk_realloc (void *ptr, size_t old_size, size_t new_size);
14     void chunk_free (void *ptr, size_t size);
15    
16     #if __cplusplus
17     }
18     #endif
19    
20     #endif
21