1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2025-01-23 17:53:14 +08:00
proxychains-ng/src/shm.h
2012-11-07 21:31:18 +01:00

18 lines
332 B
C

#ifndef SHM_H
#define SHM_H
#include <unistd.h>
struct stringpool {
size_t alloced;
size_t used;
char* start;
};
void stringpool_init(struct stringpool* sp);
char* stringpool_add(struct stringpool *sp, char* s, size_t len);
#if 0
void *shm_realloc(void* old, size_t old_size, size_t new_size);
#endif
//RcB: DEP "shm.c"
#endif