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

libnjb 2.2.7

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

- File List
- Globals

songid.h
1 #ifndef __NJB__SONGID__H
2 #define __NJB__SONGID__H
3
4 #define ID_DATA_ASCII 0
5 #define ID_DATA_BIN 1
6 #define ID_DATA_UNI 2
7
8 /* Eventually we move all private songid_t processing in here */
9
10 njb_songid_t *songid_unpack (void *data, size_t nbytes);
11 unsigned char *songid_pack (njb_songid_t *song, u_int32_t *size);
12 unsigned char *songid_pack3 (njb_songid_t *song, u_int32_t *size);
13 int songid_sanity_check(njb_t *njb, njb_songid_t *songid);
14
15 #endif