lo.h | lo.h | |||
---|---|---|---|---|
skipping to change at line 14 | skipping to change at line 14 | |||
* This program is free software; you can redistribute it and/or modify | * This program is free software; you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation; either version 2 of the License, or | * the Free Software Foundation; either version 2 of the License, or | |||
* (at your option) any later version. | * (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program 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 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | * GNU General Public License for more details. | |||
* | * | |||
* $Id: lo.h,v 1.1.1.1 2004/08/07 22:21:02 theno23 Exp $ | * $Id: lo.h,v 1.2 2004/10/17 22:44:17 theno23 Exp $ | |||
*/ | */ | |||
#ifndef LO_H | #ifndef LO_H | |||
#define LO_H | #define LO_H | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/** | /** | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
lo_lowlevel.h | lo_lowlevel.h | |||
---|---|---|---|---|
skipping to change at line 14 | skipping to change at line 14 | |||
* This program is free software; you can redistribute it and/or modify | * This program is free software; you can redistribute it and/or modify | |||
* it under the terms of the GNU General Public License as published by | * it under the terms of the GNU General Public License as published by | |||
* the Free Software Foundation; either version 2 of the License, or | * the Free Software Foundation; either version 2 of the License, or | |||
* (at your option) any later version. | * (at your option) any later version. | |||
* | * | |||
* This program is distributed in the hope that it will be useful, | * This program 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 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |||
* GNU General Public License for more details. | * GNU General Public License for more details. | |||
* | * | |||
* $Id: lo_lowlevel.h,v 1.2 2004/08/27 16:00:07 theno23 Exp $ | * $Id: lo_lowlevel.h,v 1.3 2004/10/17 11:31:52 theno23 Exp $ | |||
*/ | */ | |||
#ifndef LO_LOWLEVEL_H | #ifndef LO_LOWLEVEL_H | |||
#define LO_LOWLEVEL_H | #define LO_LOWLEVEL_H | |||
#include "lo/lo_osc_types.h" | #include "lo/lo_osc_types.h" | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
skipping to change at line 308 | skipping to change at line 308 | |||
* \param h The method handler callback function that will be called it a | * \param h The method handler callback function that will be called it a | |||
* matching message is received | * matching message is received | |||
* \param user_data A value that will be passed to the callback function, h , | * \param user_data A value that will be passed to the callback function, h , | |||
* when its invoked matching from this method. | * when its invoked matching from this method. | |||
*/ | */ | |||
lo_method lo_server_add_method(lo_server s, const char *path, | lo_method lo_server_add_method(lo_server s, const char *path, | |||
const char *typespec, lo_method_handler h, | const char *typespec, lo_method_handler h, | |||
void *user_data); | void *user_data); | |||
/** | /** | |||
* \brief Return the file descriptor of the server socket. | ||||
* | ||||
* If the server protocol supports exposing the server's underlying | ||||
* receive mechanism for monitoring with select() or poll(), this function | ||||
* returns the file descriptor needed, otherwise, it returns -1. | ||||
*/ | ||||
int lo_server_get_socket_fd(lo_server s); | ||||
/** | ||||
* \brief Return the port number that the server has bound to. | * \brief Return the port number that the server has bound to. | |||
* | * | |||
* Useful when NULL is passed for the port number and you wish to know how to | * Useful when NULL is passed for the port number and you wish to know how to | |||
* address the server. | * address the server. | |||
*/ | */ | |||
int lo_server_get_port(lo_server s); | int lo_server_get_port(lo_server s); | |||
/** | /** | |||
* \brief Return an OSC URL that can be used to contact the server. | * \brief Return an OSC URL that can be used to contact the server. | |||
* | * | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 10 lines changed or added | |||