]> git.sur5r.net Git - openldap/commitdiff
New files added for Mingw32 support.
authorHoward Chu <hyc@openldap.org>
Thu, 28 Oct 1999 07:22:10 +0000 (07:22 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 28 Oct 1999 07:22:10 +0000 (07:22 +0000)
See README 1.27 log

libraries/liblutil/slapdmsg.bin [new file with mode: 0644]
libraries/liblutil/slapdmsg.h [new file with mode: 0644]
libraries/liblutil/slapdmsg.rc [new file with mode: 0644]

diff --git a/libraries/liblutil/slapdmsg.bin b/libraries/liblutil/slapdmsg.bin
new file mode 100644 (file)
index 0000000..89a6c4a
Binary files /dev/null and b/libraries/liblutil/slapdmsg.bin differ
diff --git a/libraries/liblutil/slapdmsg.h b/libraries/liblutil/slapdmsg.h
new file mode 100644 (file)
index 0000000..cb952be
--- /dev/null
@@ -0,0 +1,65 @@
+//
+// This file contains message strings for the OpenLDAP slapd service.
+//
+// This file should be compiled as follows
+//   mc -v slapdmsg.mc  -r $(IntDir)  
+//   rc /v /r  $(IntDir)\slapdmsg.rc
+// The mc (message compiler) command generates the .rc and .h files from this file. The 
+// rc (resource compiler) takes the .rc file and produces a .res file that can be linked 
+// with the final executable application. The application is then registered as a message
+// source with by creating the appropriate entries in the system registry.
+//
+//
+//  Values are 32 bit values layed out as follows:
+//
+//   3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
+//   1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
+//  +---+-+-+-----------------------+-------------------------------+
+//  |Sev|C|R|     Facility          |               Code            |
+//  +---+-+-+-----------------------+-------------------------------+
+//
+//  where
+//
+//      Sev - is the severity code
+//
+//          00 - Success
+//          01 - Informational
+//          10 - Warning
+//          11 - Error
+//
+//      C - is the Customer code flag
+//
+//      R - is a reserved bit
+//
+//      Facility - is the facility code
+//
+//      Code - is the facility's status code
+//
+//
+// Define the facility codes
+//
+
+
+//
+// Define the severity codes
+//
+
+
+//
+// MessageId: MSG_SLAPD_STARTED
+//
+// MessageText:
+//
+//  OpenLDAP SLAPD service started. debuglevel=%1, conffile=%2, urls=%3, mode=%4
+//
+#define MSG_SLAPD_STARTED                0x40000500L
+
+//
+// MessageId: MSG_SLAPD_STOPPED
+//
+// MessageText:
+//
+//  OpenLDAP SLAPD service stopped.
+//
+#define MSG_SLAPD_STOPPED                0x40000501L
+
diff --git a/libraries/liblutil/slapdmsg.rc b/libraries/liblutil/slapdmsg.rc
new file mode 100644 (file)
index 0000000..01d0d06
--- /dev/null
@@ -0,0 +1,2 @@
+LANGUAGE 0x9,0x4
+1 11 slapdmsg.bin