lo.h   lo.h 
skipping to change at line 56 skipping to change at line 56
* \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.
*/ */
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://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);
/** /**
* \brief Free the memory used by the lo_address object * \brief Free the memory used by the lo_address object
*/ */
void lo_address_free(lo_address t); void lo_address_free(lo_address t);
/** /**
* \brief Send a OSC formatted message to the address specified. * \brief Send a OSC formatted message to the address specified.
 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.9 2004/11/19 23:07:18 theno23 Exp $ * $Id: lo_lowlevel.h,v 1.10 2005/01/19 07:59:49 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 95 skipping to change at line 95
/** /**
* \brief Append a data item and typechar of the specified type to a messa ge. * \brief Append a data item and typechar of the specified type to a messa ge.
* See lo_message_add_int32() for details. * See lo_message_add_int32() for details.
*/ */
void lo_message_add_float(lo_message m, float a); void lo_message_add_float(lo_message m, float a);
/** /**
* \brief Append a data item and typechar of the specified type to a messa ge. * \brief Append a data item and typechar of the specified type to a messa ge.
* See lo_message_add_int32() for details. * See lo_message_add_int32() for details.
*/ */
void lo_message_add_string(lo_message m, char *a); void lo_message_add_string(lo_message m, const char *a);
/** /**
* \brief Append a data item and typechar of the specified type to a messa ge. * \brief Append a data item and typechar of the specified type to a messa ge.
* See lo_message_add_int32() for details. * See lo_message_add_int32() for details.
*/ */
void lo_message_add_blob(lo_message m, lo_blob a); void lo_message_add_blob(lo_message m, lo_blob a);
/** /**
* \brief Append a data item and typechar of the specified type to a messa ge. * \brief Append a data item and typechar of the specified type to a messa ge.
* See lo_message_add_int32() for details. * See lo_message_add_int32() for details.
skipping to change at line 125 skipping to change at line 125
/** /**
* \brief Append a data item and typechar of the specified type to a messa ge. * \brief Append a data item and typechar of the specified type to a messa ge.
* See lo_message_add_int32() for details. * See lo_message_add_int32() for details.
*/ */
void lo_message_add_double(lo_message m, double a); void lo_message_add_double(lo_message m, double a);
/** /**
* \brief Append a data item and typechar of the specified type to a messa ge. * \brief Append a data item and typechar of the specified type to a messa ge.
* See lo_message_add_int32() for details. * See lo_message_add_int32() for details.
*/ */
void lo_message_add_symbol(lo_message m, char *a); void lo_message_add_symbol(lo_message m, const char *a);
/** /**
* \brief Append a data item and typechar of the specified type to a messa ge. * \brief Append a data item and typechar of the specified type to a messa ge.
* See lo_message_add_int32() for details. * See lo_message_add_int32() for details.
*/ */
void lo_message_add_char(lo_message m, char a); void lo_message_add_char(lo_message m, char a);
/** /**
* \brief Append a data item and typechar of the specified type to a messa ge. * \brief Append a data item and typechar of the specified type to a messa ge.
* See lo_message_add_int32() for details. * See lo_message_add_int32() for details.
skipping to change at line 164 skipping to change at line 164
*/ */
void lo_message_add_nil(lo_message m); void lo_message_add_nil(lo_message m);
/** /**
* \brief Append a data item and typechar of the specified type to a messa ge. * \brief Append a data item and typechar of the specified type to a messa ge.
* See lo_message_add_int32() for details. * See lo_message_add_int32() for details.
*/ */
void lo_message_add_infinitum(lo_message m); void lo_message_add_infinitum(lo_message m);
/** /**
* \brief Returns the source (lo_address) of an incoming message.
*
* Returns NULL if the message is outgoing. Do not free the returned addres
s.
*/
lo_address lo_message_get_source(lo_message m);
/**
* \brief Return the length of a message in bytes. * \brief Return the length of a message in bytes.
* *
* \param m The message to be sized * \param m The message to be sized
* \param path The path the message will be sent to * \param path The path the message will be sent to
*/ */
size_t lo_message_length(lo_message m, const char *path); size_t lo_message_length(lo_message m, const char *path);
/** /**
* \brief Serialise the message object to an area of memory and return a * \brief Serialise the message object to an area of memory and return a
* pointer to the serialised form. * pointer to the serialised form.
skipping to change at line 189 skipping to change at line 196
* \param size If this pointer is non-NULL the size of the memory area * \param size If this pointer is non-NULL the size of the memory area
* will be written here * will be written here
* *
* The returned form is suitable to be sent over a low level OSC transport, * The returned form is suitable to be sent over a low level OSC transport,
* having the correct endianess and bit-packed structure. * having the correct endianess and bit-packed structure.
*/ */
void *lo_message_serialise(lo_message m, const char *path, void *to, void *lo_message_serialise(lo_message m, const char *path, void *to,
size_t *size); size_t *size);
/** /**
* \brief Return the hostname of a lo_address object
*
* Returned value most not be modified or free'd. Value will be a dotted qu
ad,
* colon'd IPV6 address, or resolvable name.
*/
const char *lo_address_get_hostname(lo_address a);
/**
* \brief Return the port/service name of a lo_address object
*
* Returned value most not be modified or free'd. Value will be a service n
ame
* or ASCII representation of the port number.
*/
const char *lo_address_get_port(lo_address a);
/**
* \brief Return a URL representing an OSC address
*
* Returned value must be free'd.
*/
char *lo_address_get_url(lo_address a);
/**
* \brief Create a new bundle object. * \brief Create a new bundle object.
* *
* OSC Bundles ecapsulate one or more OSC messages and may include a timest amp * OSC Bundles ecapsulate one or more OSC messages and may include a timest amp
* indicating when the bundle should be dispatched. * indicating when the bundle should be dispatched.
* *
* \param tt The timestamp when the bundle should be handled by the receive r. * \param tt The timestamp when the bundle should be handled by the receive r.
* Pass LO_TT_IMMEDIATE if you want the receiving server to dispa tch * Pass LO_TT_IMMEDIATE if you want the receiving server to dispa tch
* the bundle as soon as it receives it. * the bundle as soon as it receives it.
*/ */
lo_bundle lo_bundle_new(lo_timetag tt); lo_bundle lo_bundle_new(lo_timetag tt);
 End of changes. 5 change blocks. 
3 lines changed or deleted 36 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/