/[svn]/liblscp/trunk/src/common.h
ViewVC logotype

Diff of /liblscp/trunk/src/common.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 125 by capela, Mon Jun 14 21:04:04 2004 UTC revision 132 by capela, Fri Jun 18 14:19:19 2004 UTC
# Line 41  struct _lscp_client_t Line 41  struct _lscp_client_t
41      // Client socket stuff.      // Client socket stuff.
42      lscp_client_proc_t  pfnCallback;      lscp_client_proc_t  pfnCallback;
43      void *              pvData;      void *              pvData;
44      lscp_socket_agent_t tcp;      lscp_socket_agent_t cmd;
45      lscp_socket_agent_t udp;      lscp_socket_agent_t evt;
46      // Session identifier.      // Session identifier.
47      char *              sessid;      char *              sessid;
48      // Client struct persistent caches.      // Client struct persistent caches.
# Line 70  struct _lscp_client_t Line 70  struct _lscp_client_t
70    
71    
72  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
73    // Local client request executive.
74    
75    lscp_status_t   lscp_client_call            (lscp_client_t *pClient, const char *pszQuery);
76    void            lscp_client_set_result      (lscp_client_t *pClient, char *pszResult, int iErrno);
77    
78    //-------------------------------------------------------------------------
79  // General utility function prototypes.  // General utility function prototypes.
80    
81  char *      lscp_strtok             (char *pchBuffer, const char *pszSeps, char **ppch);  char *          lscp_strtok                 (char *pchBuffer, const char *pszSeps, char **ppch);
82  char *      lscp_ltrim              (char *psz);  char *          lscp_ltrim                  (char *psz);
83  char *      lscp_unquote            (char **ppsz, int dup);  char *          lscp_unquote                (char **ppsz, int dup);
84    
85  char **     lscp_szsplit_create     (const char *pszCsv, const char *pszSeps);  char **         lscp_szsplit_create         (const char *pszCsv, const char *pszSeps);
86  void        lscp_szsplit_destroy    (char **ppszSplit);  void            lscp_szsplit_destroy        (char **ppszSplit);
87  #ifdef LSCP_SZSPLIT_COUNT  #ifdef LSCP_SZSPLIT_COUNT
88  int         lscp_szsplit_count      (char **ppszSplit);  int             lscp_szsplit_count          (char **ppszSplit);
89  int         lscp_szsplit_size       (char **ppszSplit);  int             lscp_szsplit_size           (char **ppszSplit);
90  #endif  #endif
91    
92  int *       lscp_isplit_create      (const char *pszCsv, const char *pszSeps);  int *           lscp_isplit_create          (const char *pszCsv, const char *pszSeps);
93  void        lscp_isplit_destroy     (int *ppiSplit);  void            lscp_isplit_destroy         (int *ppiSplit);
94  #ifdef LSCP_ISPLIT_COUNT  #ifdef LSCP_ISPLIT_COUNT
95  int         lscp_isplit_count       (int *ppiSplit);  int             lscp_isplit_count           (int *ppiSplit);
96  int         lscp_isplit_size        (int *ppiSplit);  int             lscp_isplit_size            (int *ppiSplit);
97  #endif  #endif
98    
   
99  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
100  // Engine struct helper functions.  // Engine struct helper functions.
101    
102  void        lscp_engine_info_init   (lscp_engine_info_t *pEngineInfo);  void            lscp_engine_info_init       (lscp_engine_info_t *pEngineInfo);
103  void        lscp_engine_info_reset  (lscp_engine_info_t *pEngineInfo);  void            lscp_engine_info_reset      (lscp_engine_info_t *pEngineInfo);
104    
105  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
106  // Channel struct helper functions.  // Channel struct helper functions.
107    
108  void        lscp_channel_info_init  (lscp_channel_info_t *pChannelInfo);  void            lscp_channel_info_init      (lscp_channel_info_t *pChannelInfo);
109  void        lscp_channel_info_reset (lscp_channel_info_t *pChannelInfo);  void            lscp_channel_info_reset     (lscp_channel_info_t *pChannelInfo);
110    
111  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
112  // Driver struct helper functions.  // Driver struct helper functions.
113    
114  void        lscp_driver_info_init   (lscp_driver_info_t *pDriverInfo);  void            lscp_driver_info_init       (lscp_driver_info_t *pDriverInfo);
115  void        lscp_driver_info_reset  (lscp_driver_info_t *pDriverInfo);  void            lscp_driver_info_reset      (lscp_driver_info_t *pDriverInfo);
116    
117    
118  #endif // __LSCP_COMMON_H  #endif // __LSCP_COMMON_H

Legend:
Removed from v.125  
changed lines
  Added in v.132

  ViewVC Help
Powered by ViewVC