lo_types.h

Go to the documentation of this file.
00001 /*
00002  *  Copyright (C) 2004 Steve Harris
00003  *
00004  *  This program is free software; you can redistribute it and/or
00005  *  modify it under the terms of the GNU Lesser General Public License
00006  *  as published by the Free Software Foundation; either version 2.1
00007  *  of the License, or (at your option) any later version.
00008  *
00009  *  This program is distributed in the hope that it will be useful,
00010  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  *  GNU Lesser General Public License for more details.
00013  *
00014  *  $Id$
00015  */
00016 
00017 #ifndef LO_TYPES_H
00018 #define LO_TYPES_H
00019 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00028 #ifdef WIN32
00029 #include <winsock2.h>
00030 #include <ws2tcpip.h>
00031 #else
00032 #include <netdb.h>
00033 #endif
00034 
00035 #include <pthread.h>
00036 
00037 #include "lo/lo_osc_types.h"
00038 
00044 typedef void *lo_address;
00045 
00051 typedef void *lo_blob;
00052 
00059 typedef void *lo_message;
00060 
00068 typedef void *lo_bundle;
00069 
00076 typedef void *lo_method;
00077 
00084 typedef void *lo_server;
00085 
00091 typedef void *lo_server_thread;
00092 
00104 typedef void (*lo_err_handler)(int num, const char *msg, const char *where);
00105 
00133 typedef int (*lo_method_handler)(const char *path, const char *types,
00134                  lo_arg **argv, int argc, lo_message msg,
00135                  void *user_data);
00136 
00137 #ifdef __cplusplus
00138 }
00139 #endif
00140 
00141 #endif

Generated on Sat Oct 17 14:12:32 2009 for CSL by  doxygen 1.4.5-20051010