summary refs log tree commit diff
path: root/src/nm-dcb.h
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2015-01-22 00:29:39 +0100
committerMichael Biebl <biebl@debian.org>2015-01-22 00:29:39 +0100
commit2c032d8f1c6292c1338a615e6ec40252889ba85c (patch)
tree1f77182220b2b0264288ba4a476ab47e5bc48716 /src/nm-dcb.h
parent33491bc4279481db8ae47213e34a6d695a0e8830 (diff)
Imported Upstream version 1.0.0 upstream/1.0.0
Diffstat (limited to 'src/nm-dcb.h')
-rw-r--r--src/nm-dcb.h30
1 files changed, 3 insertions, 27 deletions
diff --git a/src/nm-dcb.h b/src/nm-dcb.h
index bfe5cedf..e409dd48 100644
--- a/src/nm-dcb.h
+++ b/src/nm-dcb.h
@@ -18,36 +18,12 @@
  * Copyright (C) 2013 Red Hat, Inc.
  */
 
-#ifndef NM_DCB_H
-#define NM_DCB_H
+#ifndef __NETWORKMANAGER_DCB_H__
+#define __NETWORKMANAGER_DCB_H__
 
 #include <glib.h>
 #include "nm-setting-dcb.h"
 
-/**
- * NMDcbError:
- * @NM_DCB_ERROR_UNKNOWN: unknown or unclassified error
- * @NM_DCB_ERROR_INTERNAL: a internal programmer error
- * @NM_DCB_ERROR_BAD_CONFIG: configuration was invalid
- * @NM_DCB_ERROR_HELPER_NOT_FOUND: the required helper program was not found
- * @NM_DCB_ERROR_HELPER_FAILED: the helper program failed
- *
- * NOTE: these errors are internal-use only and should never be used with D-Bus.
- **/
-typedef enum {
-	NM_DCB_ERROR_UNKNOWN = 0,
-	NM_DCB_ERROR_INTERNAL,
-	NM_DCB_ERROR_BAD_CONFIG,
-	NM_DCB_ERROR_HELPER_NOT_FOUND,
-	NM_DCB_ERROR_HELPER_FAILED,
-} NMDcbError;
-
-#define NM_DCB_ERROR (nm_dcb_error_quark ())
-GQuark nm_dcb_error_quark (void);
-#define NM_TYPE_DCB_ERROR (nm_dcb_error_get_type ())
-GType  nm_dcb_error_get_type (void);
-
-
 gboolean nm_dcb_enable (const char *iface, gboolean enable, GError **error);
 gboolean nm_dcb_setup (const char *iface, NMSettingDcb *s_dcb, GError **error);
 gboolean nm_dcb_cleanup (const char *iface, GError **error);
@@ -97,4 +73,4 @@ gboolean _fcoe_cleanup (const char *iface,
                         gpointer user_data,
                         GError **error);
 
-#endif /* NM_DCB_H */
+#endif /* __NETWORKMANAGER_DCB_H__ */