aliases.h File Reference


Detailed Description

Resolve aliases to variable codes.

#include <dballe/core/var.h>

Go to the source code of this file.

Functions

dba_varcode dba_varcode_alias_resolve (const char *alias)
 Resolve a variable alias.
dba_varcode dba_varcode_alias_resolve_substring (const char *alias, int len)
 Resolve a variable alias.


Function Documentation

dba_varcode dba_varcode_alias_resolve ( const char *  alias  ) 

Resolve a variable alias.

Parameters:
alias The alias to resolve
Returns:
The varcode corresponding to the aliase, or 0 if no variable has the given alias. See vartable.h

dba_varcode dba_varcode_alias_resolve_substring ( const char *  alias,
int  len 
)

Resolve a variable alias.

Parameters:
alias The alias to resolve (does not need to be null-terminated)
len The length of the string
Returns:
The varcode corresponding to the aliase, or 0 if no variable has the given alias. See vartable.h


Generated on Sun May 18 17:27:17 2008 for libdballe by  doxygen 1.5.5