#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "votParseP.h"
Functions | |
int | vot_handleCount () |
Get the number of handle_t used (private method). | |
handle_t | vot_lookupHandle (Element *elem) |
Lookup the handle_t to an Element (private method). | |
handle_t | vot_setHandle (Element *elem) |
Assign the Element a handle_t (private method). | |
void | vot_freeHandle (handle_t handle) |
Free a handle for use (private method). | |
Element * | vot_getElement (handle_t handle) |
Get the Element refered to by handle_t (private method). | |
void | vot_handleCleanup (void) |
Free all the handle nodes (private method). | |
void | vot_newHandleTable (void) |
Initialize a handle table (private method). | |
void | vot_handleError (char *msg) |
Print an error message. |
VOTHANDLE.C -- (Private) Methods to manage interface handles.
vot_freeHandle | ( | handle_t | handle | ) |
Free a handle for use (private method).
vot_freeHandle -- Free a handle for use (private method)
handle | A handle_t to the Element you wish to free |
Element * vot_getElement | ( | handle_t | handle | ) |
vot_handleCleanup | ( | void | ) |
Free all the handle nodes (private method).
vot_handleCleanup -- Free all the handle nodes (private method)
int vot_handleCount | ( | void | ) |
Get the number of handle_t used (private method).
count of current used handles vot_handleCount -- Get the number of handle_t used (private method)
vot_handleError | ( | char * | msg | ) |
Print an error message.
vot_handleError -- Print an error message.
handle_t vot_lookupHandle | ( | Element * | elem | ) |
vot_newHandleTable | ( | void | ) |
Initialize a handle table (private method).
vot_newHandleTable -- Initialize a handle table (private method)
handle_t vot_setHandle | ( | Element * | elem | ) |