client.h | client.h | |||
---|---|---|---|---|
// client.h | // client.h | |||
// | // | |||
/************************************************************************** ** | /************************************************************************** ** | |||
liblscp - LinuxSampler Control Protocol API | liblscp - LinuxSampler Control Protocol API | |||
Copyright (C) 2004-2005, rncbc aka Rui Nuno Capela. All rights reserved. | Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. | |||
This library is free software; you can redistribute it and/or | This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
device.h | device.h | |||
---|---|---|---|---|
// device.h | // device.h | |||
// | // | |||
/************************************************************************** ** | /************************************************************************** ** | |||
liblscp - LinuxSampler Control Protocol API | liblscp - LinuxSampler Control Protocol API | |||
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. | Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. | |||
This library is free software; you can redistribute it and/or | This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
event.h | event.h | |||
---|---|---|---|---|
// event.h | // event.h | |||
// | // | |||
/************************************************************************** ** | /************************************************************************** ** | |||
liblscp - LinuxSampler Control Protocol API | liblscp - LinuxSampler Control Protocol API | |||
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. | Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. | |||
This library is free software; you can redistribute it and/or | This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
socket.h | socket.h | |||
---|---|---|---|---|
// socket.h | // socket.h | |||
// | // | |||
/************************************************************************** ** | /************************************************************************** ** | |||
liblscp - LinuxSampler Control Protocol API | liblscp - LinuxSampler Control Protocol API | |||
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. | Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. | |||
This library is free software; you can redistribute it and/or | This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | Lesser General Public License for more details. | |||
skipping to change at line 48 | skipping to change at line 48 | |||
#if defined(__cplusplus) | #if defined(__cplusplus) | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
//------------------------------------------------------------------------- | //------------------------------------------------------------------------- | |||
// Sockets. | // Sockets. | |||
#if defined(WIN32) | #if defined(WIN32) | |||
typedef SOCKET lscp_socket_t; | typedef SOCKET lscp_socket_t; | |||
typedef int socklen_t; | ||||
#else | #else | |||
typedef int lscp_socket_t; | typedef int lscp_socket_t; | |||
#define INVALID_SOCKET -1 | #define INVALID_SOCKET -1 | |||
#define SOCKET_ERROR -1 | #define SOCKET_ERROR -1 | |||
#define closesocket(s) close(s) | #define closesocket(s) close(s) | |||
#endif | #endif | |||
#define LSCP_BUFSIZ 1024 | #define LSCP_BUFSIZ 1024 | |||
void lscp_socket_perror (const char *pszPrefix); | void lscp_socket_perror (const char *pszPrefix); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 2 lines changed or added | |||
thread.h | thread.h | |||
---|---|---|---|---|
// thread.h | // thread.h | |||
// | // | |||
/************************************************************************** ** | /************************************************************************** ** | |||
liblscp - LinuxSampler Control Protocol API | liblscp - LinuxSampler Control Protocol API | |||
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. | Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. | |||
This library is free software; you can redistribute it and/or | This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | Lesser General Public License for more details. | |||
skipping to change at line 111 | skipping to change at line 111 | |||
typedef void (*lscp_thread_proc_t)(void *pvData); | typedef void (*lscp_thread_proc_t)(void *pvData); | |||
typedef struct _lscp_thread_t lscp_thread_t; | typedef struct _lscp_thread_t lscp_thread_t; | |||
lscp_thread_t *lscp_thread_create (lscp_thread_proc_t pfnProc, void *pvDat a, int iDetach); | lscp_thread_t *lscp_thread_create (lscp_thread_proc_t pfnProc, void *pvDat a, int iDetach); | |||
lscp_status_t lscp_thread_join (lscp_thread_t *pThread); | lscp_status_t lscp_thread_join (lscp_thread_t *pThread); | |||
lscp_status_t lscp_thread_cancel (lscp_thread_t *pThread); | lscp_status_t lscp_thread_cancel (lscp_thread_t *pThread); | |||
lscp_status_t lscp_thread_destroy (lscp_thread_t *pThread); | lscp_status_t lscp_thread_destroy (lscp_thread_t *pThread); | |||
#if defined(WIN32) | #if defined(WIN32) | |||
#define lscp_thread_exit() pthread_exit(NULL) | ||||
#else | ||||
#define lscp_thread_exit() ExitThread(0) | #define lscp_thread_exit() ExitThread(0) | |||
#else | ||||
#define lscp_thread_exit() pthread_exit(NULL) | ||||
#endif | #endif | |||
#if defined(__cplusplus) | #if defined(__cplusplus) | |||
} | } | |||
#endif | #endif | |||
#endif // __LSCP_THREAD_H | #endif // __LSCP_THREAD_H | |||
// end of thread.h | // end of thread.h | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
version.h | version.h | |||
---|---|---|---|---|
// version.h | // version.h | |||
// | // | |||
/************************************************************************** ** | /************************************************************************** ** | |||
liblscp - LinuxSampler Control Protocol API | liblscp - LinuxSampler Control Protocol API | |||
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. | Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. | |||
This library is free software; you can redistribute it and/or | This library is free software; you can redistribute it and/or | |||
modify it under the terms of the GNU Lesser General Public | modify it under the terms of the GNU Lesser General Public | |||
License as published by the Free Software Foundation; either | License as published by the Free Software Foundation; either | |||
version 2.1 of the License, or (at your option) any later version. | version 2.1 of the License, or (at your option) any later version. | |||
This library is distributed in the hope that it will be useful, | This library is distributed in the hope that it will be useful, | |||
but WITHOUT ANY WARRANTY; without even the implied warranty of | but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
Lesser General Public License for more details. | Lesser General Public License for more details. | |||
skipping to change at line 27 | skipping to change at line 27 | |||
You should have received a copy of the GNU Lesser General Public | You should have received a copy of the GNU Lesser General Public | |||
License along with this library; if not, write to the Free Software | License along with this library; if not, write to the Free Software | |||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |||
*************************************************************************** **/ | *************************************************************************** **/ | |||
#ifndef __LSCP_VERSION_H | #ifndef __LSCP_VERSION_H | |||
#define __LSCP_VERSION_H | #define __LSCP_VERSION_H | |||
#define LSCP_PACKAGE "liblscp" | #define LSCP_PACKAGE "liblscp" | |||
#define LSCP_VERSION "0.3.2" | #define LSCP_VERSION "0.3.3" | |||
#endif // __LSCP_VERSION_H | #endif // __LSCP_VERSION_H | |||
// end of version.h | // end of version.h | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||