libnjb: /magus/work/usr/mports/audio/libnjb/work/libnjb-2.2.7/src/datafile.h Source File

libnjb 2.2.7

- Main Page
- Modules
- Data Structures
- Files
- Examples

- File List
- Globals

datafile.h
1 #ifndef __NJB__DATAFILE__H
2 #define __NJB__DATAFILE__H
3
4 njb_datafile_t *datafile_new (void);
5 u_int64_t datafile_size (njb_datafile_t *df);
6 void datafile_set_size (njb_datafile_t *df, u_int64_t size);
7 void datafile_set_time (njb_datafile_t *df, time_t ts);
8 int datafile_set_name (njb_datafile_t *df, const char *filename);
9 int datafile_set_folder (njb_datafile_t *df, const char *folder);
10 njb_datafile_t *datafile_unpack (unsigned char *data, size_t nbytes);
11 unsigned char *datafile_pack (njb_datafile_t *df, u_int32_t *size);
12 unsigned char *datafile_pack3 (njb_t *njb, njb_datafile_t *df, u_int32_t *size);
13 unsigned char *new_folder_pack3 (njb_t *njb, const char *name, u_int32_t *size);
14
15 #endif
datafile_new
njb_datafile_t * datafile_new(void)
Definition: datafile.c:29
datafile_set_folder
int datafile_set_folder(njb_datafile_t *df, const char *folder)
Definition: datafile.c:142
datafile_set_size
void datafile_set_size(njb_datafile_t *df, u_int64_t size)
Definition: datafile.c:89
datafile_pack3
unsigned char * datafile_pack3(njb_t *njb, njb_datafile_t *df, u_int32_t *size)
Definition: datafile.c:321
datafile_size
u_int64_t datafile_size(njb_datafile_t *df)
Definition: datafile.c:71
new_folder_pack3
unsigned char * new_folder_pack3(njb_t *njb, const char *name, u_int32_t *size)
Definition: datafile.c:426
njb_struct
Definition: libnjb.h:182
datafile_pack
unsigned char * datafile_pack(njb_datafile_t *df, u_int32_t *size)
Definition: datafile.c:238
njb_datafile_struct
Definition: libnjb.h:275
datafile_set_time
void datafile_set_time(njb_datafile_t *df, time_t ts)
Definition: datafile.c:103
datafile_set_name
int datafile_set_name(njb_datafile_t *df, const char *filename)
Definition: datafile.c:118
datafile_unpack
njb_datafile_t * datafile_unpack(unsigned char *data, size_t nbytes)
Definition: datafile.c:164