summaryrefslogtreecommitdiff
path: root/libnm-glib/nm-vpn-plugin-ui-interface.c
Commit message (Collapse)AuthorAgeFilesLines
* all: remove consecutive empty linesBeniamino Galvani2018-04-301-3/+0
| | | | | | | Normalize coding style by removing consecutive empty lines from C sources and headers. https://github.com/NetworkManager/NetworkManager/pull/108
* all: replace non-leading tabs with spacesThomas Haller2018-02-071-10/+10
| | | | | | We commonly only allow tabs at the beginning of a line, not afterwards. The reason for this style is so that the code looks formated right with tabstop=4 and tabstop=8.
* all: cleanup includes and let "nm-default.h" include "config.h"Thomas Haller2016-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - All internal source files (except "examples", which are not internal) should include "config.h" first. As also all internal source files should include "nm-default.h", let "config.h" be included by "nm-default.h" and include "nm-default.h" as first in every source file. We already wanted to include "nm-default.h" before other headers because it might contains some fixes (like "nm-glib.h" compatibility) that is required first. - After including "nm-default.h", we optinally allow for including the corresponding header file for the source file at hand. The idea is to ensure that each header file is self contained. - Don't include "config.h" or "nm-default.h" in any header file (except "nm-sd-adapt.h"). Public headers anyway must not include these headers, and internal headers are never included after "nm-default.h", as of the first previous point. - Include all internal headers with quotes instead of angle brackets. In practice it doesn't matter, because in our public headers we must include other headers with angle brackets. As we use our public headers also to compile our interal source files, effectively the result must be the same. Still do it for consistency. - Except for <config.h> itself. Include it with angle brackets as suggested by https://www.gnu.org/software/autoconf/manual/autoconf.html#Configuration-Headers
* all: consistently include config.hDan Winship2014-11-131-0/+2
| | | | | | | | | | | config.h should be included from every .c file, and it should be included before any other include. Fix that. (As a side effect of how I did this, this also changes us to consistently use "config.h" rather than <config.h>. To the extent that it matters [which is not much], quotes are more correct anyway, since we're talking about a file in our own build tree, not a system include.)
* libnm-glib: document some propertiesDan Winship2014-07-251-0/+16
| | | | | | | | Some libnm-glib object properties were only documented in the GParamSpec strings, not via gtk-doc comments, so they became undocumented when the paramspec strings went away. Fix that. (Also fix incorrect gtk-doc syntax with several NMClient properties.)
* libnm-util, libnm-glib: whitespace fixesDan Winship2014-07-151-10/+9
| | | | Fix indentation, kill trailing whitespace, split some long lines.
* libnm-util, libnm-glib: standardize copyright/license headersDan Winship2014-07-151-4/+2
| | | | | | | | | | | | | | | | | | - Remove list of authors from files that had them; these serve no purpose except to quickly get out of date (and were only used in libnm-util and not libnm-glib anyway). - Just say "Copyright", not "(C) Copyright" or "Copyright (C)" - Put copyright statement after the license, not before - Remove "NetworkManager - Network link manager" from the few files that contained it, and "libnm_glib -- Access network status & information from glib applications" from the many files that contained it. - Remove vim modeline from nm-device-olpc-mesh.[ch], add emacs modeline to files that were missing it.
* all: remove remaining GParamSpec name/blurb stringsDan Winship2014-06-191-15/+12
| | | | | | Remove all remaining GParamSpec name and blurb strings (and fix indentation while we're there), and add G_PARAM_STATIC_STRINGS to all paramspecs that were lacking it.
* libnm-glib: VPN delete and save secrets operations are no longer usedDan Williams2011-07-131-12/+4
| | | | | They don't get called by anything since 0.9 reworked secrets handling and added secret agents. Make them nops but keep the functions.
* libnm-glib: fix VPN plugin builds for C++Dan Williams2010-05-181-5/+5
| | | | Yes, this breaks source compat. Simple rename though.
* 2008-11-14 Dan Williams <dcbw@redhat.com>Dan Williams2008-11-141-14/+15
| | | | | | | | Relicense libnm-glib to LGPLv2+ with agreement from contributors git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4285 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Fix a couple of typos.Tambet Ingo2008-09-241-2/+2
| | | | git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4091 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-09-24 Tambet Ingo <tambet@gmail.com>Tambet Ingo2008-09-241-0/+18
| | | | | | | * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to all the public function arguments. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4089 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-09-09 Dan Williams <dcbw@redhat.com>Dan Williams2008-09-091-0/+22
| | | | | | | | | | | | | | | * libnm-glib/nm-vpn-plugin-ui-interface.c libnm-glib/nm-vpn-plugin-ui-interface.h libnm-glib/libnm_glib_vpn.ver - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin should clean up resources related to the connection (like keyring secrets) - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin should save user-scope secrets (like to the keyring) git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4052 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-06-26 Dan Williams <dcbw@redhat.com>Dan Williams2008-06-261-3/+3
| | | | | | | | * Update FSF address in license headers (Michael Biebl <biebl@debian.org>) git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3775 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-06-20 Dan Williams <dcbw@redhat.com>Dan Williams2008-06-201-7/+11
| | | | | | | | | | | | | | * libnm-glib/nm-vpn-plugin-ui-interface.c libnm-glib/nm-vpn-plugin-ui-interface.h - 'validity-changed' -> 'changed' to work better with the connection editor. Plugin UI widgets should emit 'changed' whenever their UI values change in a meaningful way. - (nm_vpn_plugin_ui_widget_interface_update_connection): the update_connection member now returns validity of the UI widget git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3761 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-06-17 Dan Williams <dcbw@redhat.com>Dan Williams2008-06-171-0/+7
| | | | | | | | | | * libnm-glib/nm-vpn-plugin-ui-interface.c libnm-glib/nm-vpn-plugin-ui-interface.h - Add "desc" property for longer descriptions of the VPN plugin git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3756 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-06-16 Dan Williams <dcbw@redhat.com>Dan Williams2008-06-161-0/+193
* configure.in libnm-glib/libnm_glib_vpn.pc.in - add a .pc file for libnm_glib_vpn * libnm-glib/nm-vpn-plugin-ui-interface.c libnm-glib/nm-vpn-plugin-ui-interface.h - Move the glib/GNOME VPN UI plugin interface into libnm-glib and rework it substantially git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3755 4912f4e0-d625-0410-9fb7-b9a5a253dbdc