# HG changeset patch # User John Bailey # Date 1184466377 0 # Node ID 52f3e904a250dd378ea922706597271034fcc28d # Parent 70509e165225e6eac70080e8f95afe17b3c5e015 Patch from John Bailey (rekkanoryo) to update the C Howto. committer: Sadrul Habib Chowdhury diff -r 70509e165225 -r 52f3e904a250 doc/C-HOWTO.dox --- a/doc/C-HOWTO.dox Sat Jul 14 10:52:31 2007 +0000 +++ b/doc/C-HOWTO.dox Sun Jul 15 02:26:17 2007 +0000 @@ -63,6 +63,10 @@ NULL, NULL, NULL, + NULL, + NULL, + NULL, + NULL, NULL }; @@ -86,10 +90,10 @@ Our last include is version.h which defines @c PURPLE_MAJOR_VERSION, and @c PURPLE_MINOR_VERSION. There is not much you need to know about these, except that they are required and will stop your plugin from crashing Pidgin - when something has changed that you plugin does not know about yet. + when something has changed that your plugin does not know about yet. - plugin_load is not required. It is called when the plugin is loaded so that - you can initialize any variables and so on. But in this plugin we'll just + @c plugin_load is not required. It is called when the plugin is loaded so + that you can initialize any variables and so on. In this plugin we'll just use it to display a message. Next we have the @c PurplePluginInfo structure. Every plugin MUST have one of @@ -225,8 +229,7 @@ code in: libpurple/plugins/pluginpref_example.c */ - NULL /* Finally, the last member of the structure - is a function pointer where you can define + NULL, /* This is a function pointer where you can define "plugin actions". The UI controls how they're displayed. It should be of the type: @@ -237,6 +240,22 @@ It must return a GList of PurplePluginActions. */ + NULL, /* This is a pointer reserved for future use. + We set it to NULL to indicate we don't + need it. + */ + NULL, /* This is a pointer reserved for future use. + We set it to NULL to indicate we don't + need it. + */ + NULL, /* This is a pointer reserved for future use. + We set it to NULL to indicate we don't + need it. + */ + NULL /* This is a pointer reserved for future use. + We set it to NULL to indicate we don't + need it. + */ }; @endcode