Index: trunk/doc/developer/plugin/conf.html =================================================================== --- trunk/doc/developer/plugin/conf.html (revision 37095) +++ trunk/doc/developer/plugin/conf.html (revision 37096) @@ -52,6 +52,7 @@

Copy these lines in the plugin init callback:

+rnd_conf_plug_reg(conf_pluginname, pluginname_conf_internal, pluginname_cookie);
 #define conf_reg(field,isarray,type_name,cpath,cname,desc,flags) \
 	conf_reg_field(conf_pluginname, field,isarray,type_name,cpath,cname,desc,flags);
 #include "pluginname_conf_fields.h"
@@ -63,7 +64,7 @@
 This is easy, since all our nodes are under a single subtree. Copy this line
 in the plugin uninit callback:
 
-	conf_unreg_fields("plugins/pluginname/");
+	rnd_conf_plug_unreg("plugins/pluginname/", pluginname_conf_internal, pluginname_cookie);
 

make dep

Index: trunk/doc/developer/plugin/conf_file.html =================================================================== --- trunk/doc/developer/plugin/conf_file.html (revision 37095) +++ trunk/doc/developer/plugin/conf_file.html (revision 37096) @@ -24,24 +24,11 @@

Register the custom intern conf

-

-Call librnd to register and unregister the intern: -

-int pplg_init_pluginname(void)
-{
-	PCB_API_CHK_VER;
-	conf_reg_intern(pluginname_conf_internal);
-	...
-
-

-The conf_reg_intern() call should be before the conf fields initialization. +Done as part of the normal plugin conf initialization.

Unregister the custom conf intern

-In the uninit callback of the plugin, insert the following line: -

-	conf_unreg_intern(pluginname_conf_internal);
-
+Done as part of the normal plugin conf uninitialization.

make dep