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.5 2004/11/19 23:07:18 theno23 Exp $ | * $Id: lo.h,v 1.6 2005/01/24 17:42:18 theno23 Exp $ | |||
*/ | */ | |||
#ifndef LO_H | #ifndef LO_H | |||
#define LO_H | #define LO_H | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
extern "C" { | extern "C" { | |||
#endif | #endif | |||
/** | /** | |||
skipping to change at line 50 | skipping to change at line 50 | |||
* @{ | * @{ | |||
*/ | */ | |||
/** | /** | |||
* \brief Declare an OSC destination, given IP address and port number. | * \brief Declare an OSC destination, given IP address and port number. | |||
* | * | |||
* \param host An IP address or number, or NULL for the local machine. | * \param host An IP address or number, or NULL for the local machine. | |||
* \param port a decimal port number or service name. | * \param port a decimal port number or service name. | |||
* | * | |||
* The lo_address object may be used as the target of OSC messages. | * The lo_address object may be used as the target of OSC messages. | |||
* | ||||
* Note: if you wish to receive replies from the target of this address, yo | ||||
u | ||||
* must first create a lo_server_thread or lo_server object which will rece | ||||
ive | ||||
* the replies. The last lo_server(_thread) object creted will be the recei | ||||
ver. | ||||
*/ | */ | |||
lo_address lo_address_new(const char *host, const char *port); | lo_address lo_address_new(const char *host, const char *port); | |||
/** | /** | |||
* \brief Create a lo_address object from an OSC URL. | * \brief Create a lo_address object from an OSC URL. | |||
* | * | |||
* example: osc.udp://localhost:4444/my/path/ | * example: osc.udp://localhost:4444/my/path/ | |||
*/ | */ | |||
lo_address lo_address_new_from_url(const char *url); | lo_address lo_address_new_from_url(const char *url); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 8 lines changed or added | |||
lo_macros.h | lo_macros.h | |||
---|---|---|---|---|
skipping to change at line 52 | skipping to change at line 52 | |||
LO_MARKER_A, LO_MARKER_B) | LO_MARKER_A, LO_MARKER_B) | |||
#define lo_send_timestamped(targ, ts, path, types...) \ | #define lo_send_timestamped(targ, ts, path, types...) \ | |||
lo_send_timestamped_internal(targ, __FILE__, __LINE__, ts, path, \ | lo_send_timestamped_internal(targ, __FILE__, __LINE__, ts, path, \ | |||
types, LO_MARKER_A, LO_MARKER_B) | types, LO_MARKER_A, LO_MARKER_B) | |||
#if 0 | #if 0 | |||
This function is deliberatly not avialable, see send.c for details. | This function is deliberatly not avialable, see send.c for details. | |||
#define lo_sendf(targ, path, types...) \ | #define lo_sendf(targ, path...) \ | |||
lo_sendf_internal(targ, __FILE__, __LINE__, path, types, \ | lo_sendf_internal(targ, __FILE__, __LINE__, path, \ | |||
LO_MARKER_A, LO_MARKER_B) | LO_MARKER_A, LO_MARKER_B) | |||
#endif | #endif | |||
#ifdef __cplusplus | #ifdef __cplusplus | |||
} | } | |||
#endif | #endif | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||