Diff for /libaitio/inc/aitio.h between versions 1.36.2.2 and 1.36.2.5

version 1.36.2.2, 2013/11/21 14:43:53 version 1.36.2.5, 2013/11/21 18:26:40
Line 89  struct tagCliSock { Line 89  struct tagCliSock {
   
         sched_task_func_t               cli_func;          sched_task_func_t               cli_func;
   
        ait_val_t                       cli_buf;        ait_val_t                       cli_buf[2];
   
         TAILQ_ENTRY(tagCliSock)         cli_node;          TAILQ_ENTRY(tagCliSock)         cli_node;
 };  };
Line 140  sock_t *ioInitSocket(int role, int type, int proto,  Line 140  sock_t *ioInitSocket(int role, int type, int proto, 
  * return: none   * return: none
  */   */
 void ioCloseSocket(sock_t ** __restrict s);  void ioCloseSocket(sock_t ** __restrict s);
   #define ioKillSocket(x)         (assert((x)), (x)->sock_kill = 1)
 /*  /*
    * ioCloseClient() - Close client socket
    *
    * @c = Client socket
    * return: 0 ok or !=0 error
    */
   int ioCloseClient(sock_cli_t * __restrict c);
   /*
  * ioUpSocket() - Setup socket for use   * ioUpSocket() - Setup socket for use
  *   *
  * @s = Socket   * @s = Socket
Line 164  void ioUpdTimerSocket(sock_cli_t * __restrict c); Line 172  void ioUpdTimerSocket(sock_cli_t * __restrict c);
  * return: -1 error or return result from scheduler   * return: -1 error or return result from scheduler
  */   */
 int ioLoopSocket(sock_t * __restrict s, sched_task_func_t rcb);  int ioLoopSocket(sock_t * __restrict s, sched_task_func_t rcb);
 /*  
  * ioAcceptSocket() - Accept clients  
  *  
  * @s = Socket  
  * @f = callback function for client handling  
  * @arg = optional argument for callback function  
  * return: -1 error or 0 ok  
  */  
 int ioAcceptSocket(sock_t * __restrict s, sock_cb_t f, void *arg);  
   
 /*  /*
  * ioPromptRead() - Read data from input h[0] with prompt to output h[1]   * ioPromptRead() - Read data from input h[0] with prompt to output h[1]

Removed from v.1.36.2.2  
changed lines
  Added in v.1.36.2.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>