CSL 5.2

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Macros | Functions
lo_macros.h File Reference

Go to the source code of this file.

## Macros
#define | LO_MAX_MSG_SIZE 32768
#define | LO_DEFAULT 0x0
#define | LO_UDP 0x1
#define | LO_UNIX 0x2
#define | LO_TCP 0x4
#define | LO_MARKER_A 0xdeadbeef
#define | LO_MARKER_B 0xf00baa23
#define | LO_ARGS_END LO_MARKER_A, LO_MARKER_B
#define | lo_message_add_varargs(msg, types, list) lo_message_add_varargs_internal(msg, types, list, __FILE__, __LINE__)

## Functions
int | lo_message_add (lo_message msg, const char *types,...)
| Append a number of arguments to a message.
int | lo_send (lo_address targ, const char *path, const char *types,...)
| Send a OSC formatted message to the address specified.
int | lo_send_timestamped (lo_address targ, lo_timetag ts, const char *path, const char *types,...)
| Send a OSC formatted message to the address specified, scheduled to be dispatch at some time in the future.
int | lo_send_from (lo_address targ, lo_server from, lo_timetag ts, const char *path, const char *types,...)
| Send a OSC formatted message to the address specified, from the same socket as the specificied server.

## Macro Definition Documentation

#define LO_MAX_MSG_SIZE 32768

Definition at line 28 of file lo_macros.h.

Referenced by lo_server_recv_raw(), lo_server_recv_raw_stream(), lo_validate_blob(), and send_data().

#define LO_DEFAULT 0x0

Definition at line 32 of file lo_macros.h.

Referenced by lo_server_new(), lo_server_new_with_proto_internal(), and lo_server_thread_new().

#define LO_UDP 0x1

Definition at line 33 of file lo_macros.h.

Referenced by create_socket(), dispatch_method(), get_protocol_name(), lo_address_new(), lo_address_new_from_url(), lo_address_new_with_proto(), lo_address_set_ttl(), lo_server_free(), lo_server_get_socket_fd(), lo_server_get_url(), lo_server_new_multicast(), lo_server_new_with_proto_internal(), lo_url_get_protocol_id(), main(), resolve_address(), and send_data().

#define LO_UNIX 0x2

Definition at line 34 of file lo_macros.h.

Referenced by create_socket(), get_protocol_name(), lo_address_new_from_url(), lo_address_new_with_proto(), lo_server_free(), lo_server_get_socket_fd(), lo_server_get_url(), lo_server_new_with_proto_internal(), lo_url_get_protocol_id(), and main().

#define LO_TCP 0x4

Definition at line 35 of file lo_macros.h.

Referenced by create_socket(), get_protocol_name(), lo_address_new_from_url(), lo_address_new_with_proto(), lo_send_message_from(), lo_server_free(), lo_server_get_socket_fd(), lo_server_get_url(), lo_server_new_with_proto_internal(), lo_server_recv(), lo_url_get_protocol_id(), main(), resolve_address(), and send_data().

#define LO_MARKER_A 0xdeadbeef

Definition at line 39 of file lo_macros.h.

Referenced by lo_message_add_varargs_internal().

#define LO_MARKER_B 0xf00baa23

Definition at line 40 of file lo_macros.h.

Referenced by lo_message_add_varargs_internal().

#define LO_ARGS_END LO_MARKER_A, LO_MARKER_B

Definition at line 41 of file lo_macros.h.

Referenced by main().

#define lo_message_add_varargs | ( |  | msg,
|  |  | types,
|  |  | list
| ) |  | lo_message_add_varargs_internal(msg, types, list, __FILE__, __LINE__)

Definition at line 43 of file lo_macros.h.