Defines | |
| #define | NJB_Get_File NJB_Get_Track |
| #define | NJB_Get_File_fd NJB_Get_Track_fd |
Functions | |
| void | NJB_Reset_Get_Datafile_Tag (njb_t *njb) |
| njb_datafile_t * | NJB_Get_Datafile_Tag (njb_t *njb) |
| void | NJB_Datafile_Destroy (njb_datafile_t *df) |
| int | NJB_Send_File (njb_t *njb, const char *path, const char *name, const char *folder, NJB_Xfer_Callback *callback, void *data, u_int32_t *fileid) |
| int | NJB_Delete_Datafile (njb_t *njb, u_int32_t fileid) |
| int | NJB_Create_Folder (njb_t *njb, const char *name, u_int32_t *folderid) |
|
||||||||||||||||
|
This function creates a new folder on the device, if the device supports folder creation.
|
|
|
Destroys a datafile struct.
|
|
||||||||||||
|
This deletes a datafile from the device.
|
|
|
This gets a datafile tag from the device. The device should first be rewound using the
|
|
|
This resets the datafile metadata retrieveal function. The datafile tags can then be retrieved one by one using the Typical usage:
njb_t *njb; njb_datafile_t *df;
NJB_Reset_Get_Datafile_Tag(njb);
while ( (df = NJB_Get_Datafile_Tag(njb)) != NULL ) {
// Do something with all the datafiles...
NJB_Datafile_Destroy(df);
}
|
|
||||||||||||||||||||||||||||||||
|
This function sends a datafile to the device (downloads), optionally using a folder name.
|
1.4.4