/[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 253 by capela, Mon Sep 27 14:40:08 2004 UTC revision 946 by capela, Mon Nov 27 18:33:02 2006 UTC
# Line 2  Line 2 
2  //  //
3  /****************************************************************************  /****************************************************************************
4     liblscp - LinuxSampler Control Protocol API     liblscp - LinuxSampler Control Protocol API
5     Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved.     Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved.
6    
7     This library is free software; you can redistribute it and/or     This library is free software; you can redistribute it and/or
8     modify it under the terms of the GNU Lesser General Public     modify it under the terms of the GNU Lesser General Public
# Line 14  Line 14 
14     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15     Lesser General Public License for more details.     Lesser General Public License for more details.
16    
17     You should have received a copy of the GNU Lesser General Public     You should have received a copy of the GNU General Public License along
18     License along with this library; if not, write to the Free Software     with this program; if not, write to the Free Software Foundation, Inc.,
19     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA     51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20    
21  *****************************************************************************/  *****************************************************************************/
22    
# Line 63  struct _lscp_client_t Line 63  struct _lscp_client_t
63      lscp_device_port_info_t midi_port_info;      lscp_device_port_info_t midi_port_info;
64      lscp_param_info_t   audio_channel_param_info;      lscp_param_info_t   audio_channel_param_info;
65      lscp_param_info_t   midi_port_param_info;      lscp_param_info_t   midi_port_param_info;
66        lscp_server_info_t  server_info;
67      lscp_engine_info_t  engine_info;      lscp_engine_info_t  engine_info;
68      lscp_channel_info_t channel_info;      lscp_channel_info_t channel_info;
69        lscp_midi_instrument_info_t midi_instrument_info;
70      // Result and error status.      // Result and error status.
71      char *              pszResult;      char *              pszResult;
72      int                 iErrno;      int                 iErrno;
# Line 75  struct _lscp_client_t Line 77  struct _lscp_client_t
77      int                 iTimeout;      int                 iTimeout;
78      lscp_mutex_t        mutex;      lscp_mutex_t        mutex;
79      lscp_cond_t         cond;      lscp_cond_t         cond;
80        // Flag last transaction timedout.
81            int                 iTimeoutCount;
82  };  };
83    
84    
# Line 123  int             lscp_plist_size        ( Line 127  int             lscp_plist_size        (
127  #endif  #endif
128    
129  //-------------------------------------------------------------------------  //-------------------------------------------------------------------------
130    // Server struct helper functions.
131    
132    void            lscp_server_info_init       (lscp_server_info_t *pServerInfo);
133    void            lscp_server_info_free       (lscp_server_info_t *pServerInfo);
134    void            lscp_server_info_reset      (lscp_server_info_t *pServerInfo);
135    
136    //-------------------------------------------------------------------------
137  // Engine struct helper functions.  // Engine struct helper functions.
138    
139  void            lscp_engine_info_init       (lscp_engine_info_t *pEngineInfo);  void            lscp_engine_info_init       (lscp_engine_info_t *pEngineInfo);
# Line 169  void            lscp_param_info_reset Line 180  void            lscp_param_info_reset
180    
181  int             lscp_param_concat           (char *pszBuffer, int cchMaxBuffer, lscp_param_t *pParams);  int             lscp_param_concat           (char *pszBuffer, int cchMaxBuffer, lscp_param_t *pParams);
182    
183    //-------------------------------------------------------------------------
184    // MIDI instrument info struct helper functions.
185    
186    void            lscp_midi_instrument_info_init      (lscp_midi_instrument_info_t *pInstrInfo);
187    void            lscp_midi_instrument_info_free      (lscp_midi_instrument_info_t *pInstrInfo);
188    void            lscp_midi_instrument_info_reset     (lscp_midi_instrument_info_t *pInstrInfo);
189    
190    
191  #endif // __LSCP_COMMON_H  #endif // __LSCP_COMMON_H
192    

Legend:
Removed from v.253  
changed lines
  Added in v.946

  ViewVC Help
Powered by ViewVC