summaryrefslogtreecommitdiffstats
path: root/main/common/monflags.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/common/monflags.h')
-rw-r--r--main/common/monflags.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/main/common/monflags.h b/main/common/monflags.h
index d4260ea..4bdcdef 100644
--- a/main/common/monflags.h
+++ b/main/common/monflags.h
@@ -1,7 +1,7 @@
/**************************************************************************
*
* Copyright (c) 2013 Alcatel-Lucent
- *
+ *
* Alcatel Lucent licenses this file to You under the Apache License,
* Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. A copy of the License is contained the
@@ -27,29 +27,29 @@
#define _MONFLAGS_H_
struct monflag {
- unsigned long bit;
- char *flagname;
+ unsigned long bit;
+ char *flagname;
};
-extern int monitorFlags;
+extern int monitorFlags;
-#define NOMONHEADER (1 << 0) /* Don't print header at startup */
-#define NODEFRAGPRN (1 << 1) /* Don't print defrag message */
-#define NOTFTPPRN (1 << 2) /* Don't print tftp message */
-#define NOMONCMDPRN (1 << 3) /* Don't print MONCMD message */
-#define NOTFTPOVW (1 << 4) /* Don't allow tftp srvr to overwrite */
- /* an existing file. */
-#define MONCOMVERBOSE (1 << 5) /* The moncom() function will print */
- /* status. */
-#define NOEXITSTATUS (1 << 6) /* Don't print app exit status. */
+#define NOMONHEADER (1 << 0) /* Don't print header at startup */
+#define NODEFRAGPRN (1 << 1) /* Don't print defrag message */
+#define NOTFTPPRN (1 << 2) /* Don't print tftp message */
+#define NOMONCMDPRN (1 << 3) /* Don't print MONCMD message */
+#define NOTFTPOVW (1 << 4) /* Don't allow tftp srvr to overwrite */
+/* an existing file. */
+#define MONCOMVERBOSE (1 << 5) /* The moncom() function will print */
+/* status. */
+#define NOEXITSTATUS (1 << 6) /* Don't print app exit status. */
-#define MFLAGS_NOMONHEADER() (monitorFlags & NOMONHEADER)
-#define MFLAGS_NODEFRAGPRN() (monitorFlags & NODEFRAGPRN)
-#define MFLAGS_NOTFTPPRN() (monitorFlags & NOTFTPPRN)
-#define MFLAGS_NOMONCMDPRN() (monitorFlags & NOMONCMDPRN)
-#define MFLAGS_NOTFTPOVW() (monitorFlags & NOTFTPOVW)
-#define MFLAGS_MONCOMVERBOSE() (monitorFlags & MONCOMVERBOSE)
-#define MFLAGS_NOEXITSTATUS() (monitorFlags & NOEXITSTATUS)
+#define MFLAGS_NOMONHEADER() (monitorFlags & NOMONHEADER)
+#define MFLAGS_NODEFRAGPRN() (monitorFlags & NODEFRAGPRN)
+#define MFLAGS_NOTFTPPRN() (monitorFlags & NOTFTPPRN)
+#define MFLAGS_NOMONCMDPRN() (monitorFlags & NOMONCMDPRN)
+#define MFLAGS_NOTFTPOVW() (monitorFlags & NOTFTPOVW)
+#define MFLAGS_MONCOMVERBOSE() (monitorFlags & MONCOMVERBOSE)
+#define MFLAGS_NOEXITSTATUS() (monitorFlags & NOEXITSTATUS)
extern void InitMonitorFlags(void);