summaryrefslogtreecommitdiff
path: root/libnm-util/nm-setting-gsm.h
Commit message (Collapse)AuthorAgeFilesLines
* include: use double-quotes to include our own headersThomas Haller2017-03-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In practice, this should only matter when there are multiple header files with the same name. That is something we try to avoid already, by giving headers a distinct name. When building NetworkManager itself, we clearly want to use double-quotes for including our own headers. But we also want to do that in our public headers. For example: ./a.c #include <stdio.h> #include <nm-1.h> void main() { printf ("INCLUDED %s/nm-2.h\n", SYMB); } ./1/nm-1.h #include <nm-2.h> ./1/nm-2.h #define SYMB "1" ./2/nm-2.h #define SYMB "2" $ cc -I./2 -I./1 ./a.c $ ./a.out INCLUDED 2/nm-2.h Exceptions to this are - headers in "shared/nm-utils" that include <NetworkManager.h>. These headers are copied into projects and hence used like headers owned by those projects. - examples/C
* libnm-util, libnm-glib: standardize copyright/license headersDan Winship2014-07-151-5/+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.
* libnm-util, libnm-glib: add versioned deprecation/availability macrosDan Winship2014-02-131-2/+4
| | | | | | | | | | | | | | | | Add versioned NM_DEPRECATED_IN_* and NM_AVAILABLE_IN_* macros, and tag new/deprecated functions accordingly. (All currently-deprecated functions are assumed to have been deprecated in 0.9.10.) Add NM_VERSION_MIN_REQUIRED and NM_VERSION_MAX_ALLOWED macros which can be set to determine which versions will cause warnings. With the current settings, external consumers of the libnm-util/libnm-glib APIs will have MIN_REQUIRED and MAX_ALLOWED both set to NM_VERSION_0_9_8 by default, meaning they will get warnings about functions added in 0.9.10. NM internally sets NM_VERSION_MAX_ALLOWED to NM_VERSION_NEXT_STABLE to ensure that it is always allowed to use all APIs.
* libnm-util: deprecate 'network-type' and 'allowed-bands' in GSM settingsAleksander Morgado2013-06-051-5/+13
| | | | | | | | When requesting connections to ModemManager, NetworkManager shouldn't try to request specific bands or network types to use. Leave those requests to other system configuration tools talking directly to ModemManager. https://bugzilla.gnome.org/show_bug.cgi?id=701504
* libnm-util: define NM_SETTING_GSM_BANDS_MAX - maximal value for allowed bandsJiří Klimeš2013-05-031-0/+24
| | | | | | | and use it in 'allowed-bands' property installation. The macro NM_SETTING_GSM_BANDS_MAX also allows libnm-util users to check if bands are valid (before setting them).
* core: add settings for 4G (LTE) network modesMarius B. Kotsbak2012-09-111-1/+7
| | | | NM_SETTING_GSM_NETWORK_TYPE_PREFER_4G and NM_SETTING_GSM_NETWORK_TYPE_4G added.
* core: fix NM_IS_*_CLASS(klass) macrosJiří Klimeš2012-07-271-1/+1
| | | | The argument is 'klass' not 'obj'.
* Fix names of error enum valuesDan Winship2012-03-121-4/+4
| | | | | | | | | | | | | | When NM was registering all of its enum types by hand, it was using NamesLikeThis rather than the default names-like-this for the "nick" values. When we switched to using glib-mkenums, this resulted in dbus-glib using different strings for the D-Bus error names, causing compatibility problems. Fix this by using glib-mkenums annotations to manually fix all the enum values back to what they were before. (This can't be done in a more automated way, because the old names aren't 100% consistent. Eg, "UNKNOWN" frequently becomes "UnknownError" rather than just "Unknown".)
* Use glib-mkenums to generate enum typesDan Winship2012-02-151-3/+0
| | | | | | | | | | | | | | | | | | | Rather than generating enum classes by hand (and complaining in each file that "this should really be standard"), use glib-mkenums. Unfortunately, we need a very new version of glib-mkenums in order to deal with NM's naming conventions and to fix a few other bugs, so just import that into the source tree temporarily. Also, to simplify the use of glib-mkenums, import Makefile.glib from https://bugzilla.gnome.org/654395. To avoid having to run glib-mkenums for every subdirectory of src/, add a new "generated" directory, and put the generated enums files there. Finally, use Makefile.glib for marshallers too, and generate separate ones for libnm-glib and NetworkManager.
* docs: update GSM setting documentationDan Williams2011-07-051-2/+46
|
* libnm-util: added missing U2600 GSM band enumerationAleksander Morgado2011-06-131-0/+1
|
* libnm-util: add secret flags for each secret describing how the secret is storedDan Williams2011-01-291-10/+15
| | | | | | | | | | | | This allows the necessary flexibility when handling secrets; otherwise it wouldn't be known when NM should save secrets returned from agents to backing storage, or when the agents should store the secrets. We can't simply use lack of a secret in persistent storage as the indicator of this, as (for example) when creating a new connection without secrets the storage method would be abmiguous. At the same time, fold in "always ask" functionality for OTP tokens so user agents don't have to store that attribute themselves out-of-band.
* libnm-util: remove deprecated GSM bitsDan Williams2011-01-271-15/+0
|
* libnm-util: add nm_setting_gsm_get_home_only()Dan Williams2010-03-161-1/+4
| | | | For roaming control.
* gsm: correct GSM band implementation and settingsDan Williams2009-10-071-27/+54
| | | | | | | | NM didn't pass it to MM anyway, so it was mainly unused, but the band settings were still wrong. Fix that (and still preserve ABI) by adding a new property for allowed bands that can actually hold all the bands instead of limiting to 16-bits. Clean up some of the deprecation stuff at the same time to make it clearer what's deprecated and what to do about it.
* libnm-util: add class padding for future expansionDan Williams2009-09-301-0/+6
|
* libnm-util: deprecate GSM PUK propertyDan Williams2009-09-181-0/+2
| | | | | Unused anyway, and PUK is dangerous enough that it should be handled by the client explicitly and not by NM.
* 2008-10-26 Dan Williams <dcbw@redhat.com>Dan Williams2008-10-261-13/+10
| | | | | | | | | | | | | | | | | | Patch from Tambet Ingo <tambet@gmail.com> * libnm-util/libnm-util.ver libnm-util/nm-setting-gsm.c libnm-util/nm-setting-gsm.h - Make properties private and add accessor functions * src/nm-gsm-device.c src/nm-hso-gsm-device.c src/ppp-manager/nm-ppp-manager.c - Use those accessors git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4219 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-09-25 Dan Williams <dcbw@redhat.com>Dan Williams2008-09-251-4/+4
| | | | | | | | | | | * libnm-util/nm-setting-gsm.c libnm-util/nm-setting-gsm.h - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network technology terms (bgo #551361) git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4106 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-07-27 Dan Williams <dcbw@redhat.com>Dan Williams2008-07-271-1/+24
| | | | | | | | | * libnm-util/* - Relicense to LGPLv2+ git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3859 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2008-06-12 Dan Williams <dcbw@redhat.com>Dan Williams2008-06-121-0/+14
| | | | | | | | | | Add a GError argument to nm_connection_verify() and nm_setting_verify(), and add error enums to each NMSetting subclass. Each NMSetting subclass now returns a descriptive GError when verification fails. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3751 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* Fix syntax errors with enums in pedantic mode (Will Stephenson)Dan Williams2008-05-131-1/+1
| | | | git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3664 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
* 2007-12-10 Tambet Ingo <tambet@gmail.com>Tambet Ingo2007-12-101-0/+63
* Replace all occurences of 'UMTS' with 'GSM'. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3161 4912f4e0-d625-0410-9fb7-b9a5a253dbdc