clients/lib/xmmsclient/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"

Go to the source code of this file.

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.
xmmsc_result_txmmsc_bindata_retrieve (xmmsc_connection_t *c, const char *hash)
 Retrieve a file from the servers bindata directory, based on the hash.
xmmsc_result_txmmsc_bindata_remove (xmmsc_connection_t *c, const char *hash)
 Remove a file with associated with the hash from the server.
xmmsc_result_txmmsc_bindata_list (xmmsc_connection_t *c)
 List all bindata hashes stored on the server.

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.

Definition at line 32 of file bindata.c.

xmmsc_result_t* xmmsc_bindata_list ( xmmsc_connection_t c  ) 

List all bindata hashes stored on the server.

Definition at line 76 of file bindata.c.

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

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

Definition at line 64 of file bindata.c.

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.

Definition at line 52 of file bindata.c.


Generated on Tue Feb 23 18:17:57 2010 for XmmsClient by  doxygen 1.6.1