Changeset 4343:a67cbb88fbe0 in roaraudio for roard/include/client.h


Ignore:
Timestamp:
09/13/10 21:58:14 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added support for wait command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/include/client.h

    r4326 r4343  
    4747*/ 
    4848 
     49struct roar_client_nsubscribe { 
     50 struct roar_subscriber * sub; 
     51}; 
     52 
    4953struct roar_client_server { 
    5054 struct roar_client _client; 
     55 size_t blockc; 
     56 struct roar_subscriber ** waits; 
    5157} * g_clients[ROAR_CLIENTS_MAX]; 
    5258 
    5359 
    5460// basic functions 
    55  
    5661int clients_init       (void); 
    5762int clients_free       (void); 
     
    6974int clients_get_fh     (int id); 
    7075 
     76int clients_block      (int id, int unblock); 
     77 
    7178// network functions 
    7279int clients_check_all  (void); 
     
    7683 
    7784// stream functions 
    78  
    79  
    8085int client_stream_exec   (int client, int stream); 
    8186int client_stream_set_fh (int client, int stream, int fh); 
     
    8489int client_stream_move   (int client, int stream); 
    8590 
     91// notify thingys 
     92int  clients_wait    (int client, struct roar_event * events, size_t num); 
     93void clients_ncb_wait(struct roar_notify_core * core, struct roar_event * event, void * userdata); 
     94 
    8695#endif 
    8796 
Note: See TracChangeset for help on using the changeset viewer.