From b436a68a20ff3114ded32a7a3d70cdd4954039f9 Mon Sep 17 00:00:00 2001
From: Michael Biebl
#include <nm-setting-ppp.h> -#define NM_SETTING_PPP_SETTING_NAME -enum NMSettingPPPError; -#define NM_TYPE_SETTING_PPP_ERROR -#define NM_SETTING_PPP_ERROR -GQuark nm_setting_ppp_error_quark (void); + NMSettingPPP; + NMSettingPPPClass; +enum NMSettingPPPError; +#define NM_SETTING_PPP_BAUD +#define NM_SETTING_PPP_CRTSCTS +#define NM_SETTING_PPP_LCP_ECHO_FAILURE +#define NM_SETTING_PPP_LCP_ECHO_INTERVAL +#define NM_SETTING_PPP_MPPE_STATEFUL +#define NM_SETTING_PPP_MRU +#define NM_SETTING_PPP_MTU #define NM_SETTING_PPP_NOAUTH -#define NM_SETTING_PPP_REFUSE_EAP -#define NM_SETTING_PPP_REFUSE_PAP -#define NM_SETTING_PPP_REFUSE_CHAP -#define NM_SETTING_PPP_REFUSE_MSCHAP -#define NM_SETTING_PPP_REFUSE_MSCHAPV2 #define NM_SETTING_PPP_NOBSDCOMP #define NM_SETTING_PPP_NODEFLATE #define NM_SETTING_PPP_NO_VJ_COMP +#define NM_SETTING_PPP_REFUSE_CHAP +#define NM_SETTING_PPP_REFUSE_EAP +#define NM_SETTING_PPP_REFUSE_MSCHAP +#define NM_SETTING_PPP_REFUSE_MSCHAPV2 +#define NM_SETTING_PPP_REFUSE_PAP #define NM_SETTING_PPP_REQUIRE_MPPE #define NM_SETTING_PPP_REQUIRE_MPPE_128 -#define NM_SETTING_PPP_MPPE_STATEFUL -#define NM_SETTING_PPP_CRTSCTS -#define NM_SETTING_PPP_BAUD -#define NM_SETTING_PPP_MRU -#define NM_SETTING_PPP_MTU -#define NM_SETTING_PPP_LCP_ECHO_FAILURE -#define NM_SETTING_PPP_LCP_ECHO_INTERVAL - NMSettingPPP; - NMSettingPPPClass; -GType nm_setting_ppp_get_type (void); -NMSetting * nm_setting_ppp_new (void); +#define NM_SETTING_PPP_SETTING_NAME +GQuark nm_setting_ppp_error_quark (void); +guint32 nm_setting_ppp_get_baud (NMSettingPPP *setting); +gboolean nm_setting_ppp_get_crtscts (NMSettingPPP *setting); +guint32 nm_setting_ppp_get_lcp_echo_failure (NMSettingPPP *setting); +guint32 nm_setting_ppp_get_lcp_echo_interval + (NMSettingPPP *setting); +gboolean nm_setting_ppp_get_mppe_stateful (NMSettingPPP *setting); +guint32 nm_setting_ppp_get_mru (NMSettingPPP *setting); +guint32 nm_setting_ppp_get_mtu (NMSettingPPP *setting); +gboolean nm_setting_ppp_get_no_vj_comp (NMSettingPPP *setting); gboolean nm_setting_ppp_get_noauth (NMSettingPPP *setting); -gboolean nm_setting_ppp_get_refuse_eap (NMSettingPPP *setting); -gboolean nm_setting_ppp_get_refuse_pap (NMSettingPPP *setting); +gboolean nm_setting_ppp_get_nobsdcomp (NMSettingPPP *setting); +gboolean nm_setting_ppp_get_nodeflate (NMSettingPPP *setting); gboolean nm_setting_ppp_get_refuse_chap (NMSettingPPP *setting); +gboolean nm_setting_ppp_get_refuse_eap (NMSettingPPP *setting); gboolean nm_setting_ppp_get_refuse_mschap (NMSettingPPP *setting); gboolean nm_setting_ppp_get_refuse_mschapv2 (NMSettingPPP *setting); -gboolean nm_setting_ppp_get_nobsdcomp (NMSettingPPP *setting); -gboolean nm_setting_ppp_get_nodeflate (NMSettingPPP *setting); -gboolean nm_setting_ppp_get_no_vj_comp (NMSettingPPP *setting); +gboolean nm_setting_ppp_get_refuse_pap (NMSettingPPP *setting); gboolean nm_setting_ppp_get_require_mppe (NMSettingPPP *setting); gboolean nm_setting_ppp_get_require_mppe_128 (NMSettingPPP *setting); -gboolean nm_setting_ppp_get_mppe_stateful (NMSettingPPP *setting); -gboolean nm_setting_ppp_get_crtscts (NMSettingPPP *setting); -guint32 nm_setting_ppp_get_baud (NMSettingPPP *setting); -guint32 nm_setting_ppp_get_mru (NMSettingPPP *setting); -guint32 nm_setting_ppp_get_mtu (NMSettingPPP *setting); -guint32 nm_setting_ppp_get_lcp_echo_failure (NMSettingPPP *setting); -guint32 nm_setting_ppp_get_lcp_echo_interval - (NMSettingPPP *setting); +NMSetting * nm_setting_ppp_new (void);
- GEnum - +----NMSettingPPPError -
GObject +----NMSetting +----NMSettingPPP+
+ GEnum + +----NMSettingPPPError +
#define NM_SETTING_PPP_SETTING_NAME "ppp" +NMSettingPPP
+typedef struct _NMSettingPPP NMSettingPPP;++
+
typedef struct {
+ NMSettingClass parent;
+
+ /* Padding for future expansion */
+ void (*_reserved1) (void);
+ void (*_reserved2) (void);
+ void (*_reserved3) (void);
+ void (*_reserved4) (void);
+} NMSettingPPPClass;
typedef enum {
NM_SETTING_PPP_ERROR_UNKNOWN = 0,
NM_SETTING_PPP_ERROR_INVALID_PROPERTY,
@@ -185,79 +197,64 @@ with other setting configuration parameters
#define NM_TYPE_SETTING_PPP_ERROR (nm_setting_ppp_error_get_type ()) +NM_SETTING_PPP_BAUD
+#define NM_SETTING_PPP_BAUD "baud"
#define NM_SETTING_PPP_ERROR nm_setting_ppp_error_quark () +NM_SETTING_PPP_CRTSCTS
+#define NM_SETTING_PPP_CRTSCTS "crtscts"
GQuark nm_setting_ppp_error_quark (void);
--Registers an error quark for NMSettingPPP if necessary. -
-Returns : |
-the error quark used for NMSettingPPP errors. | -
#define NM_SETTING_PPP_NOAUTH "noauth" +NM_SETTING_PPP_LCP_ECHO_FAILURE
+#define NM_SETTING_PPP_LCP_ECHO_FAILURE "lcp-echo-failure"
#define NM_SETTING_PPP_REFUSE_EAP "refuse-eap" +NM_SETTING_PPP_LCP_ECHO_INTERVAL
+#define NM_SETTING_PPP_LCP_ECHO_INTERVAL "lcp-echo-interval"
#define NM_SETTING_PPP_REFUSE_PAP "refuse-pap" +NM_SETTING_PPP_MPPE_STATEFUL
+#define NM_SETTING_PPP_MPPE_STATEFUL "mppe-stateful"
#define NM_SETTING_PPP_REFUSE_CHAP "refuse-chap" +NM_SETTING_PPP_MRU
+#define NM_SETTING_PPP_MRU "mru"
#define NM_SETTING_PPP_REFUSE_MSCHAP "refuse-mschap" +NM_SETTING_PPP_MTU
+#define NM_SETTING_PPP_MTU "mtu"
#define NM_SETTING_PPP_REFUSE_MSCHAPV2 "refuse-mschapv2" +NM_SETTING_PPP_NOAUTH
+#define NM_SETTING_PPP_NOAUTH "noauth"@@ -288,161 +285,144 @@ Registers an error quark for -
NM_SETTING_PPP_REQUIRE_MPPE
-#define NM_SETTING_PPP_REQUIRE_MPPE "require-mppe" ---
-
#define NM_SETTING_PPP_REQUIRE_MPPE_128 "require-mppe-128" +NM_SETTING_PPP_REFUSE_CHAP
+#define NM_SETTING_PPP_REFUSE_CHAP "refuse-chap"
#define NM_SETTING_PPP_MPPE_STATEFUL "mppe-stateful" +NM_SETTING_PPP_REFUSE_EAP
+#define NM_SETTING_PPP_REFUSE_EAP "refuse-eap"
#define NM_SETTING_PPP_CRTSCTS "crtscts" +NM_SETTING_PPP_REFUSE_MSCHAP
+#define NM_SETTING_PPP_REFUSE_MSCHAP "refuse-mschap"
#define NM_SETTING_PPP_BAUD "baud" +NM_SETTING_PPP_REFUSE_MSCHAPV2
+#define NM_SETTING_PPP_REFUSE_MSCHAPV2 "refuse-mschapv2"
#define NM_SETTING_PPP_MRU "mru" +NM_SETTING_PPP_REFUSE_PAP
+#define NM_SETTING_PPP_REFUSE_PAP "refuse-pap"
#define NM_SETTING_PPP_MTU "mtu" +NM_SETTING_PPP_REQUIRE_MPPE
+#define NM_SETTING_PPP_REQUIRE_MPPE "require-mppe"
#define NM_SETTING_PPP_LCP_ECHO_FAILURE "lcp-echo-failure" +NM_SETTING_PPP_REQUIRE_MPPE_128
+#define NM_SETTING_PPP_REQUIRE_MPPE_128 "require-mppe-128"
#define NM_SETTING_PPP_LCP_ECHO_INTERVAL "lcp-echo-interval" +NM_SETTING_PPP_SETTING_NAME
+#define NM_SETTING_PPP_SETTING_NAME "ppp"
typedef struct _NMSettingPPP NMSettingPPP;+
GQuark nm_setting_ppp_error_quark (void);
+Registers an error quark for NMSettingPPP if necessary.
+Returns : |
+the error quark used for NMSettingPPP errors. | +
typedef struct {
- NMSettingClass parent;
-
- /* Padding for future expansion */
- void (*_reserved1) (void);
- void (*_reserved2) (void);
- void (*_reserved3) (void);
- void (*_reserved4) (void);
-} NMSettingPPPClass;
-
+guint32 nm_setting_ppp_get_baud (NMSettingPPP *setting);
GType nm_setting_ppp_get_type (void);
+gboolean nm_setting_ppp_get_crtscts (NMSettingPPP *setting);
NMSetting * nm_setting_ppp_new (void);
+guint32 nm_setting_ppp_get_lcp_echo_failure (NMSettingPPP *setting);
-Creates a new NMSettingPPP object with default values.
-Returns : |
-the new empty NMSettingPPP object. [transfer full] - | -
gboolean nm_setting_ppp_get_noauth (NMSettingPPP *setting);
+guint32 nm_setting_ppp_get_lcp_echo_interval
+ (NMSettingPPP *setting);
gboolean nm_setting_ppp_get_refuse_eap (NMSettingPPP *setting);
+gboolean nm_setting_ppp_get_mppe_stateful (NMSettingPPP *setting);
gboolean nm_setting_ppp_get_refuse_pap (NMSettingPPP *setting);
+guint32 nm_setting_ppp_get_mru (NMSettingPPP *setting);
gboolean nm_setting_ppp_get_refuse_chap (NMSettingPPP *setting);
+guint32 nm_setting_ppp_get_mtu (NMSettingPPP *setting);
gboolean nm_setting_ppp_get_refuse_mschap (NMSettingPPP *setting);
+gboolean nm_setting_ppp_get_no_vj_comp (NMSettingPPP *setting);
gboolean nm_setting_ppp_get_refuse_mschapv2 (NMSettingPPP *setting);
+gboolean nm_setting_ppp_get_noauth (NMSettingPPP *setting);
gboolean nm_setting_ppp_get_no_vj_comp (NMSettingPPP *setting);
--
-gboolean nm_setting_ppp_get_require_mppe (NMSettingPPP *setting);
--
-gboolean nm_setting_ppp_get_require_mppe_128 (NMSettingPPP *setting);
+gboolean nm_setting_ppp_get_refuse_chap (NMSettingPPP *setting);
gboolean nm_setting_ppp_get_mppe_stateful (NMSettingPPP *setting);
+gboolean nm_setting_ppp_get_refuse_eap (NMSettingPPP *setting);
gboolean nm_setting_ppp_get_crtscts (NMSettingPPP *setting);
+gboolean nm_setting_ppp_get_refuse_mschap (NMSettingPPP *setting);
guint32 nm_setting_ppp_get_baud (NMSettingPPP *setting);
+gboolean nm_setting_ppp_get_refuse_mschapv2 (NMSettingPPP *setting);
guint32 nm_setting_ppp_get_mru (NMSettingPPP *setting);
+gboolean nm_setting_ppp_get_refuse_pap (NMSettingPPP *setting);
guint32 nm_setting_ppp_get_mtu (NMSettingPPP *setting);
+gboolean nm_setting_ppp_get_require_mppe (NMSettingPPP *setting);
guint32 nm_setting_ppp_get_lcp_echo_failure (NMSettingPPP *setting);
+gboolean nm_setting_ppp_get_require_mppe_128 (NMSettingPPP *setting);
guint32 nm_setting_ppp_get_lcp_echo_interval
- (NMSettingPPP *setting);
+NMSetting * nm_setting_ppp_new (void);
+Creates a new NMSettingPPP object with default values.
+Returns : |
+the new empty NMSettingPPP object. [transfer full] + | +