krui_err krui_createSiteTableEntry( char *site_name, char *site_func )
defines the correspondence between site function and name of the site. Error codes are generated for site names already used, invalid site functions, or problems with the memory allocation.
krui_err krui_changeSiteTableEntry( char *old_site_name,
char *new_site_func )
changes the correspondence between site function and name of the site. All sites in the network with the name
change their name and function. Error
codes are generated for already defined site names, invalid new site
function, or problems with the memory allocation.
krui_err krui_deleteSiteTableEntry( char *site_name )
deletes a site in the site table. This is possible only if there exist no sites in the network with that name. Returns an error code if there are still sites with this name in the net.
bool krui_getFirstSiteTableEntry( char * *site_name, char * *site_func )
bool krui_getNextSiteTableEntry ( char * *site_name, char * *site_func )
returns the first/next pair of site name and site function. The return code is TRUE if there is (still) an entry in the site table, else FALSE.
char *krui_getSiteTableFuncName( char *site_name )
returns the name of the site function assigned to the site. If no site with this name exists, a pointer to NULL is returned.