/usr/include/diet/skalibs/cdb_make.h is in skalibs-dev 0.47-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | /* Public domain. */
#ifndef CDB_MAKE_H
#define CDB_MAKE_H
#include "uint32.h"
#include "diuint32alloc.h"
#include "buffer.h"
typedef struct cdb_make cdb_make, *cdb_make_ref ;
struct cdb_make
{
char buf[BUFFER_OUTSIZE] ;
diuint32alloc hplist ;
buffer b ;
uint32 pos ;
int fd ;
} ;
#define CDB_MAKE_ZERO { "", DIUINT32ALLOC_ZERO, BUFFER_INIT(&buffer_unixwrite, -1, 0, 0), 2048, -1 }
extern int cdb_make_start (struct cdb_make *, int) ;
extern int cdb_make_add (struct cdb_make *, char const *, unsigned int, char const *, unsigned int) ;
extern int cdb_make_finish (struct cdb_make *) ;
#endif
|