Changeset 755:fa521d53ac05 in roaraudio


Ignore:
Timestamp:
09/05/08 04:13:41 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added clients_get_fh()

Location:
roard
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • roard/clients.c

    r668 r755  
    126126} 
    127127 
     128int clients_get_fh    (int id) { 
     129 if ( g_clients[id] == NULL ) 
     130  return -1; 
     131 
     132 return g_clients[id]->fh; 
     133} 
     134 
    128135int clients_set_pid   (int id, int    pid) { 
    129136 if ( g_clients[id] == NULL ) 
  • roard/include/client.h

    r668 r755  
    6161int clients_set_name  (int id, char * name); 
    6262int clients_get       (int id, struct roar_client ** client); 
     63int clients_get_fh    (int id); 
    6364 
    6465// network functions 
Note: See TracChangeset for help on using the changeset viewer.