GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
TS_CONF_GET(3) tslib TS_CONF_GET(3)

ts_conf_set - write a new TSLIB_CONFFILE config file and reload it.

#include <tslib.h>

int ts_conf_set(struct ts_module_conf *conf);

ts_conf_set() This function takes a pointer to a struct ts_module_conf. It reads data from all linked structs in the list (next and prev pointers) and writes a new TSLIB_CONFFILE. The first struct in the list (where prev is NULL) is the first line and so on. After writing, ts_reconfig() has to be called so the new modules and parameters are reloaded and applied to the currently running program.

The given set of ts_module_conf structs is freed and destroyed here. After calling ts_conf_set() one has to use ts_conf_get() again, for a different change.

struct ts_module_conf {
	char *name;
	char *params;
	int raw;
	int nr;
	struct ts_module_conf *next;
	struct ts_module_conf *prev;
};

This function returns zero on success and a negative integer on failure.

ts_conf_get(3), ts_config(3), ts.conf(5)


Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.