Changeset 100:fea0dd940215 in roaraudio for roard


Ignore:
Timestamp:
07/13/08 02:05:38 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added basic declarations for reading meta data

Location:
roard
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • roard/commands.c

    r77 r100  
    88  {ROAR_CMD_AUTH,         "AUTH",         req_on_auth}, 
    99  {ROAR_CMD_NEW_STREAM,   "NEW_STREAM",   req_on_new_stream}, 
     10 
    1011  {ROAR_CMD_SET_META,     "SET_META",     req_on_set_meta}, 
     12  {ROAR_CMD_GET_META,     "GET_META",     req_on_get_meta}, 
     13 
    1114  {ROAR_CMD_EXEC_STREAM,  "EXEC_STREAM",  req_on_exec_stream}, 
    1215  {ROAR_CMD_QUIT,         "QUIT",         clients_delete}, 
  • roard/include/req.h

    r77 r100  
    1616 
    1717int req_on_set_meta    (int client, struct roar_message * mes, char * data); 
     18int req_on_get_meta    (int client, struct roar_message * mes, char * data); 
    1819 
    1920int req_on_get_standby (int client, struct roar_message * mes, char * data); 
  • roard/req.c

    r99 r100  
    200200} 
    201201 
     202int req_on_get_meta    (int client, struct roar_message * mes, char * data) { 
     203 return -1; 
     204} 
    202205 
    203206int req_on_server_oinfo    (int client, struct roar_message * mes, char * data) { 
Note: See TracChangeset for help on using the changeset viewer.