29 #include "libComAPI.h"
LIBCOM_API char *epicsStdCall macEnvExpand(const char *str)
Expand environment variables in a string.
long magic
magic number (used for authentication)
LIBCOM_API long epicsStdCall macParseDefns(MAC_HANDLE *handle, const char *defns, char **pairs[])
Parse macro definitions into an array of {name, value} pairs.
LIBCOM_API long epicsStdCall macInstallMacros(MAC_HANDLE *handle, char *pairs[])
Install set of {name, value} pairs as definitions.
int dirty
values need expanding from raw values?
LIBCOM_API long epicsStdCall macDeleteHandle(MAC_HANDLE *handle)
Marks a handle invalid, and frees all storage associated with it.
LIBCOM_API long epicsStdCall macPutValue(MAC_HANDLE *handle, const char *name, const char *value)
Sets the value of a specific macro.
LIBCOM_API char *epicsStdCall macDefExpand(const char *str, MAC_HANDLE *macros)
Expands macros and environment variables in a string.
A doubly-linked list library.
LIBCOM_API long epicsStdCall macExpandString(MAC_HANDLE *handle, const char *src, char *dest, long capacity)
Expand a string which may contain macro references.
LIBCOM_API long epicsStdCall macCreateHandle(MAC_HANDLE **handle, const char *pairs[])
Creates a new macro substitution context.
LIBCOM_API long epicsStdCall macPopScope(MAC_HANDLE *handle)
Retrieve the last pushed scope (like stack operations)
LIBCOM_API long epicsStdCall macReportMacros(MAC_HANDLE *handle)
Reports details of current definitions.
LIBCOM_API long epicsStdCall macGetValue(MAC_HANDLE *handle, const char *name, char *value, long capacity)
Returns the value of a macro.
ELLLIST list
macro name / value list
int flags
operating mode flags
LIBCOM_API void epicsStdCall macSuppressWarning(MAC_HANDLE *handle, int falseTrue)
Disable or enable warning messages.
Macro substitution context, for use by macLib routines only.
LIBCOM_API long epicsStdCall macPushScope(MAC_HANDLE *handle)
Marks the start of a new scoping level.