mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 06:00:08 +01:00
* src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE values so that distribution-backends can differentiate between the various types (modem, ISDN, et cetera) of dialup device that they support. * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as needed. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1265 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
14 lines
369 B
C
14 lines
369 B
C
#ifndef _NETWORK_MANAGER_DIALUP_H
|
|
#define _NETWORK_MANAGER_DIALUP_H
|
|
|
|
#define NM_DIALUP_TYPE_MODEM 1
|
|
#define NM_DIALUP_TYPE_ISDN 2
|
|
|
|
typedef struct NMDialUpConfig
|
|
{
|
|
char *name; /* user-readable name, unique */
|
|
void *data; /* backend internal data */
|
|
unsigned int type; /* type: modem or ISDN, currently */
|
|
} NMDialUpConfig;
|
|
|
|
#endif /* _NETWORK_MANAGER_DIALUP_H */
|