Changeset 109 in libcf for trunk/include/cf_socket.h


Ignore:
Timestamp:
06/04/13 14:25:10 (11 years ago)
Author:
cheese
Message:

#1 add typical data structure algorithms (linked-list / queue / stak) and rename symbol for context of each modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf_socket.h

    r73 r109  
    55 * @remark TCP 소켓 지원
    66 *
    7  * @example socket_server.c
    8  * @example socket_client.c
     7 * @example socket.c
    98 */
    109#ifndef __CF_SOCKET_H__
     
    6362
    6463CF_EXPORT int
    65 CF_Socket_Send              (const int  sock,
    66                              const void * buf,
    67                              const int  len);
     64CF_Socket_Send              (const int      sock,
     65                             const void     * buf,
     66                             const size_t   len);
    6867
    6968CF_EXPORT int
    70 CF_Socket_SendTimeout       (const int  sock,
    71                              const void * buf,
    72                              const int  len,
    73                              const int  timeout);
     69CF_Socket_SendTimeout       (const int      sock,
     70                             const void     * buf,
     71                             const size_t   len,
     72                             const int      timeout);
    7473
    7574CF_EXPORT int
    76 CF_Socket_Recv              (const int  sock,
    77                              void       * buf,
    78                              const int  len);
     75CF_Socket_Recv              (const int      sock,
     76                             void           * buf,
     77                             const size_t   len);
    7978
    8079CF_EXPORT int
    81 CF_Socket_RecvTimeout       (const int  sock,
    82                              void       * buf,
    83                              const int  len,
    84                              const int  timeout);
     80CF_Socket_RecvTimeout       (const int      sock,
     81                             void           * buf,
     82                             const size_t   len,
     83                             const int      timeout);
    8584
    8685#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.