paraslash Paraslash Audio Streaming
About   News   Download   Documentation   Development

Macros
blob.c File Reference

Detailed Description

Macros and functions for blob handling.

Macros

#define DEFINE_BLOB_TABLE_DESC(table_name)
 
#define DEFINE_BLOB_TABLE_PTR(table_name)
 
#define INIT_BLOB_TABLE(table_name)
 
#define DEFINE_BLOB_COMMAND(cmd_name, c_cmd_name, table_name, short_name, c_short_name)
 
#define DEFINE_GET_NAME_BY_ID(table_name, cmd_prefix)
 
#define DEFINE_GET_DEF_BY_NAME(table_name, cmd_prefix)
 
#define DEFINE_GET_NAME_AND_DEF_BY_ROW(table_name, cmd_prefix)
 
#define DEFINE_BLOB_CLOSE(table_name)
 
#define DEFINE_BLOB_CREATE(table_name)
 
#define DEFINE_BLOB_OPEN(table_name)
 
#define DEFINE_BLOB_AFS_TABLE_OPS(table_name, ehandler)
 
#define DEFINE_BLOB_FUNCTIONS(table_name, short_name, c_short_name, ehandler)
 

Macro Definition Documentation

◆ DEFINE_BLOB_TABLE_DESC

#define DEFINE_BLOB_TABLE_DESC (   table_name)

Define an osl table description for a blob table.

◆ DEFINE_BLOB_TABLE_PTR

#define DEFINE_BLOB_TABLE_PTR (   table_name)

Define a pointer to an osl blob table with a canonical name.

◆ INIT_BLOB_TABLE

#define INIT_BLOB_TABLE (   table_name)

Define a blob table.

◆ DEFINE_BLOB_COMMAND

#define DEFINE_BLOB_COMMAND (   cmd_name,
  c_cmd_name,
  table_name,
  short_name,
  c_short_name 
)

◆ DEFINE_GET_NAME_BY_ID

#define DEFINE_GET_NAME_BY_ID (   table_name,
  cmd_prefix 
)

Define the get_name_by_id function for this blob type.

◆ DEFINE_GET_DEF_BY_NAME

#define DEFINE_GET_DEF_BY_NAME (   table_name,
  cmd_prefix 
)

Define the get_def_by_id function for this blob type.

◆ DEFINE_GET_NAME_AND_DEF_BY_ROW

#define DEFINE_GET_NAME_AND_DEF_BY_ROW (   table_name,
  cmd_prefix 
)

Define the get_name_and_def_by_row function for this blob type.

◆ DEFINE_BLOB_CLOSE

#define DEFINE_BLOB_CLOSE (   table_name)

Define the close function for this blob type.

◆ DEFINE_BLOB_CREATE

#define DEFINE_BLOB_CREATE (   table_name)

Define the create function for this blob type.

◆ DEFINE_BLOB_OPEN

#define DEFINE_BLOB_OPEN (   table_name)

◆ DEFINE_BLOB_AFS_TABLE_OPS

#define DEFINE_BLOB_AFS_TABLE_OPS (   table_name,
  ehandler 
)

Blob tables map integers to blobs.

◆ DEFINE_BLOB_FUNCTIONS

#define DEFINE_BLOB_FUNCTIONS (   table_name,
  short_name,
  c_short_name,
  ehandler 
)

Define all functions for this blob type.