From 5e23d42c69b90b9bd66961771911ab5d7ff9be09 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Wed, 11 Jul 2012 23:46:34 +0200 Subject: Update version numbers in the plugin docs --- plugins/plugin20.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/plugin20.html') diff --git a/plugins/plugin20.html b/plugins/plugin20.html index fcdff2ed..2a42f984 100644 --- a/plugins/plugin20.html +++ b/plugins/plugin20.html @@ -1005,7 +1005,7 @@ A newly allocated string or NULL for failure. You must free this string with xch

-

 xchat_pluginpref_set_str() (new for 2.8.10)

+

 xchat_pluginpref_set_str() (new for 2.9.0)

Prototype: int xchat_pluginpref_set_str (xchat_plugin *ph, const char *var, const char *value);

Description: Saves a plugin-specific setting with string value to a plugin-specific config file. @@ -1044,7 +1044,7 @@ myvar2 = This is important, too. You should never need to edit this file manually.


-

 xchat_pluginpref_get_str() (new for 2.8.10)

+

 xchat_pluginpref_get_str() (new for 2.9.0)

Prototype: int xchat_pluginpref_get_str (xchat_plugin *ph, const char *var, char *dest);

Description: Loads a plugin-specific setting with string value from a plugin-specific config file. @@ -1058,7 +1058,7 @@ You should never need to edit this file manually. Returns: 1 for success, 0 for failure.


-

 xchat_pluginpref_set_int() (new for 2.8.10)

+

 xchat_pluginpref_set_int() (new for 2.9.0)

Prototype: int xchat_pluginpref_set_int (xchat_plugin *ph, const char *var, int value);

Description: Saves a plugin-specific setting with decimal value to a plugin-specific config file. @@ -1098,7 +1098,7 @@ You should never need to edit this file manually. You only need these kind of complex checks if you're saving user input, which can be non-numeric.


-

 xchat_pluginpref_get_int() (new for 2.8.10)

+

 xchat_pluginpref_get_int() (new for 2.9.0)

Prototype: int xchat_pluginpref_get_int (xchat_plugin *ph, const char *var);

Description: Loads a plugin-specific setting with decimal value from a plugin-specific config file. @@ -1111,7 +1111,7 @@ You only need these kind of complex checks if you're saving user input, which ca Returns: The decimal value of the requested setting upon success, -1 for failure.


-

 xchat_pluginpref_delete() (new for 2.8.10)

+

 xchat_pluginpref_delete() (new for 2.9.0)

Prototype: int xchat_pluginpref_delete (xchat_plugin *ph, const char *var);

Description: Deletes a plugin-specific setting from a plugin-specific config file. @@ -1124,7 +1124,7 @@ You only need these kind of complex checks if you're saving user input, which ca Returns: 1 for success, 0 for failure. If the given setting didn't exist, it also returns 1, so 1 only indicates that the setting won't exist after the call.


-

 xchat_pluginpref_list() (new for 2.8.10)

+

 xchat_pluginpref_list() (new for 2.9.0)

Prototype: int xchat_pluginpref_list (xchat_plugin *ph, char *dest);

Description: Builds a comma-separated list of the currently saved settings from a plugin-specific config file. -- cgit 1.4.1