Functions | Variables
vm-buffer.c File Reference
#include "vm-buffer.h"
#include "../../common/consts.h"
#include "../../common/types.h"
#include <string.h>
#include <assert.h>
Include dependency graph for vm-buffer.c:

Go to the source code of this file.

Functions

void AsebaProcessIncomingEvents (AsebaVMState *vm)
void AsebaSendDescription (AsebaVMState *vm)
void AsebaSendMessage (AsebaVMState *vm, uint16 type, const void *data, uint16 size)
void AsebaSendVariables (AsebaVMState *vm, uint16 start, uint16 length)
static void buffer_add (const uint8 *data, const uint16 len)
static void buffer_add_sint16 (const sint16 value)
static void buffer_add_string (const char *s)
static void buffer_add_uint16 (const uint16 value)
static void buffer_add_uint8 (const uint8 value)

Variables

static unsigned char buffer [ASEBA_MAX_INNER_PACKET_SIZE]
static unsigned buffer_pos

Function Documentation

static void buffer_add ( const uint8 data,
const uint16  len 
) [static]

Definition at line 30 of file vm-buffer.c.

static void buffer_add_sint16 ( const sint16  value) [static]

Definition at line 56 of file vm-buffer.c.

static void buffer_add_string ( const char *  s) [static]

Definition at line 62 of file vm-buffer.c.

static void buffer_add_uint16 ( const uint16  value) [static]

Definition at line 50 of file vm-buffer.c.

static void buffer_add_uint8 ( const uint8  value) [static]

Definition at line 45 of file vm-buffer.c.


Variable Documentation

unsigned char buffer[ASEBA_MAX_INNER_PACKET_SIZE] [static]

Definition at line 27 of file vm-buffer.c.

unsigned buffer_pos [static]

Definition at line 28 of file vm-buffer.c.



aseba
Author(s): Stéphane Magnenat
autogenerated on Sun Oct 5 2014 23:46:39