CSL  5.2
bundle.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "lo_types_internal.h"
#include "lo/lo.h"

Go to the source code of this file.

Functions

lo_bundle lo_bundle_new (lo_timetag tt)
 Create a new bundle object.
int lo_bundle_add_message (lo_bundle b, const char *path, lo_message m)
 Adds an OSC message to an existing bundle.
size_t lo_bundle_length (lo_bundle b)
 Return the length of a bundle in bytes.
void * lo_bundle_serialise (lo_bundle b, void *to, size_t *size)
 Serialise the bundle object to an area of memory and return a pointer to the serialised form.
void lo_bundle_free (lo_bundle b)
 Frees the memory taken by a bundle object.
static int _lo_internal_compare_ptrs (const void *a, const void *b)
void lo_bundle_free_messages (lo_bundle b)
 Frees the memory taken by a bundle object and messages in the bundle.
void lo_bundle_pp (lo_bundle b)
 Pretty-print a lo_bundle object.

Function Documentation

static int _lo_internal_compare_ptrs ( const void *  a,
const void *  b 
)
static

Definition at line 138 of file bundle.c.

Referenced by lo_bundle_free_messages().