libavap.h File Reference


Functions

int avap_init_server (AVAP_Server *server)
int avap_get_audio_database (AVAP_Server *server)
AVAP_Genreavap_Songs_Tree_Sort (AVAP_Server *server)
void avap_free_session (AVAP_Session *session)
void avap_free_server (AVAP_Server *server)


Function Documentation

void avap_free_server AVAP_Server server  ) 
 

Free a AVAP server structure.

Parameters:
server to free.

void avap_free_session AVAP_Session session  ) 
 

Free a AVAP session structure.

Parameters:
session to free.

int avap_get_audio_database AVAP_Server server  ) 
 

Get songs from AVAP Audio Database found on server.

Downloads listing of all Songs found on server and places the parsed Informations in server.session.database.audio_db. See "avap-data.h" for details.

Parameters:
server structure containing host information
Returns:
Error code.

int avap_init_server AVAP_Server server  ) 
 

Get AVAP server and database informations.

This function initializes the AVAP_Server structure. Parsed information can be found in inside the structure AVAP_Server.

Parameters:
server structure containing host information
Returns:
Error code.

AVAP_Genre* avap_Songs_Tree_Sort AVAP_Server server  ) 
 

Generate sorted Tree of Songs using this scheme:.

Genres / \ Artists Artists / \ \ Albums Albums Albums

As you can see a Genres is linked to it's Artists, a Artists to it's Albums and so on.

Parameters:
server structure containing host and database informations.
Returns:
first Genre of sorted Tree.


Generated on Sat Nov 6 16:38:31 2004 for LibAVAP by  doxygen 1.3.9.1