Sambar Server Documentation

sa_props_load


Purpose

Loads property values from a configuration file.

Syntax

sa_props_load (context, filename, section, func_arg, func);

SA_CTX *context;
SA_CHAR *filename;
SA_CHAR *section;
SA_VOID *func_arg;
SA_PROPFUNC func;

Parameters

context Server context.

filename The configuration file containing the property values to load.

section The section of the configuration file containing the properties of interest.

func_arg The argument to pass to func, the configuration callback function.

func The name of the configuration callback function.

Returns

SA_SUCCEED if the function is successful; SA_FAIL otherwise.

Comments

None

See Also

None

© 1998 Sambar Technologies. All rights reserved. Terms of Use.