lo.h   lo.h 
skipping to change at line 33 skipping to change at line 33
/** /**
* \file lo.h The liblo main headerfile and high-level API functions. * \file lo.h The liblo main headerfile and high-level API functions.
*/ */
#include "lo/lo_endian.h" #include "lo/lo_endian.h"
#include "lo/lo_types.h" #include "lo/lo_types.h"
#include "lo/lo_osc_types.h" #include "lo/lo_osc_types.h"
#include "lo/lo_errors.h" #include "lo/lo_errors.h"
#include "lo/lo_lowlevel.h" #include "lo/lo_lowlevel.h"
#include "lo/lo_backcompat.h"
/** /**
* \defgroup liblo High-level OSC API * \defgroup liblo High-level OSC API
* *
* Defines the high-level API functions neccesary to implement OSC support. * Defines the high-level API functions neccesary to implement OSC support.
* Should be adequate for most applications, but ig you require lower level * Should be adequate for most applications, but ig you require lower level
* control you can use the functions defined in lo_lowlevel.h. * control you can use the functions defined in lo_lowlevel.h.
* @{ * @{
*/ */
 End of changes. 1 change blocks. 
1 lines changed or deleted 0 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.1.1.1 2004/08/07 22:21:02 theno23 Exp $ * $Id: lo_lowlevel.h,v 1.2 2004/08/27 16:00:07 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
#include <stdint.h>
#include "lo/lo_types.h" #include "lo/lo_types.h"
#include "lo/lo_errors.h" #include "lo/lo_errors.h"
/** /**
* \defgroup liblolowlevel Low-level OSC API * \defgroup liblolowlevel Low-level OSC API
* *
* Use these functions if you require more precices control over OSC messag e * Use these functions if you require more precices control over OSC messag e
* contruction or handling that what is provided in the high-level function s * contruction or handling that what is provided in the high-level function s
* described in liblo. * described in liblo.
* @{ * @{
skipping to change at line 153 skipping to change at line 155
*/ */
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 Return the length of a message in bytes.
*
* \param m The mesaage to be serialised
* \param path The path the message will be sent to
*/
size_t lo_message_length(lo_message m, const char *path);
/**
* \brief Serialise the message object to an area of memory and return a
* pointer to the serialised form.
*
* \param m The mesaage to be serialised
* \param path The path the message will be sent to
* \param size If this pointer is non-NULL the size of the memory area
* will be written here
*
* The returned form is suitable to be sent over a low level OSC transport,
* having the correct endianess and bit-packed structure.
*/
void *lo_message_serialise(lo_message m, const char *path, size_t *size);
/**
* \brief return true if the type specified has a numerical value, such as * \brief return true if the type specified has a numerical value, such as
* LO_INT32, LO_FLOAT etc. * LO_INT32, LO_FLOAT etc.
* *
* \param a The type to be tested. * \param a The type to be tested.
*/ */
int lo_is_numerical_type(lo_type a); int lo_is_numerical_type(lo_type a);
/** /**
* \brief return true if the type specified has a textual value, such as * \brief return true if the type specified has a textual value, such as
* LO_STRING or LO_SYMBOL. * LO_STRING or LO_SYMBOL.
 End of changes. 3 change blocks. 
1 lines changed or deleted 25 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/