# songid.h

    00001 #ifndef __NJB__SONGID__H
    00002 #define __NJB__SONGID__H
    00003
    00004 #define ID_DATA_ASCII   0
    00005 #define ID_DATA_BIN     1
    00006 #define ID_DATA_UNI     2
    00007
    00008 /* Eventually we move all private songid_t processing in here */
    00009
    00010 njb_songid_t *songid_unpack (void *data, size_t nbytes);
    00011 unsigned char *songid_pack (njb_songid_t *song, u_int32_t *size);
    00012 unsigned char *songid_pack3 (njb_songid_t *song, u_int32_t *size);
    00013 int songid_sanity_check(njb_t *njb, njb_songid_t *songid);
    00014
    00015 #endif