XmmsClient
Functions
bindata.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <xmmsclient/xmmsclient.h>
#include <xmmsclientpriv/xmmsclient.h>
#include <xmmsclientpriv/xmmsclient_ipc.h>
#include <xmmsc/xmmsc_idnumbers.h>
#include <xmmsc/xmmsc_stringport.h>

Functions

xmmsc_result_txmmsc_bindata_add (xmmsc_connection_t *c, const unsigned char *data, unsigned int len)
 Add binary data to the servers bindata directory. More...
 
xmmsc_result_txmmsc_bindata_retrieve (xmmsc_connection_t *c, const char *hash)
 Retrieve a file from the servers bindata directory, based on the hash. More...
 
xmmsc_result_txmmsc_bindata_remove (xmmsc_connection_t *c, const char *hash)
 Remove a file with associated with the hash from the server. More...
 
xmmsc_result_txmmsc_bindata_list (xmmsc_connection_t *c)
 List all bindata hashes stored on the server. More...
 

Function Documentation

xmmsc_result_t* xmmsc_bindata_add ( xmmsc_connection_t c,
const unsigned char *  data,
unsigned int  len 
)

Add binary data to the servers bindata directory.

xmmsc_result_t* xmmsc_bindata_list ( xmmsc_connection_t c)

List all bindata hashes stored on the server.

xmmsc_result_t* xmmsc_bindata_remove ( xmmsc_connection_t c,
const char *  hash 
)

Remove a file with associated with the hash from the server.

xmmsc_result_t* xmmsc_bindata_retrieve ( xmmsc_connection_t c,
const char *  hash 
)

Retrieve a file from the servers bindata directory, based on the hash.