summaryrefslogtreecommitdiffstats
path: root/src/account/macros.h
diff options
context:
space:
mode:
authorRoman Rakus <rrakus@redhat.com>2012-08-14 15:10:03 +0200
committerRoman Rakus <rrakus@redhat.com>2012-08-14 15:11:43 +0200
commite84ef5b99ff28063dcda246aa2746177bcc22e9b (patch)
treef9b8308d041857e3ab09ba49c23dc39909c5fdd7 /src/account/macros.h
parent8e14ce31d9c6ad81a337e51647ab9fa16e62cbe7 (diff)
downloadopenlmi-providers-e84ef5b99ff28063dcda246aa2746177bcc22e9b.tar.gz
openlmi-providers-e84ef5b99ff28063dcda246aa2746177bcc22e9b.tar.xz
openlmi-providers-e84ef5b99ff28063dcda246aa2746177bcc22e9b.zip
Account provider0.0.2
Listing of the users and groups Signed-off-by: Roman Rakus <rrakus@redhat.com>
Diffstat (limited to 'src/account/macros.h')
-rw-r--r--src/account/macros.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/account/macros.h b/src/account/macros.h
new file mode 100644
index 0000000..5cedfdb
--- /dev/null
+++ b/src/account/macros.h
@@ -0,0 +1,15 @@
+#ifndef MACROS_H
+#define MACROS_H
+
+/* Few global names of instances */
+#define LAMSNAME "Cura Linux Users Account Management Service"
+#define LAMCNAME "Cura Linux Users Account Management Capabilities"
+#define LEACNAME "Cura Linux Account Capabilities"
+
+/* Organization ID. Used for InstaceIDs */
+#define ORGID "Red Hat"
+
+/* convert days to microseconds */
+#define DAYSTOMS(days) ((days) * 86400000000)
+
+#endif