OSSP CVS Repository

ossp - Difference in ossp-pkg/rc/rc.h versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/rc/rc.h 1.3 -> 1.4

--- rc.h 2002/01/22 22:53:47     1.3
+++ rc.h 2002/02/04 21:48:22     1.4
@@ -43,8 +43,19 @@
 #define TRUE (!FALSE)
 #endif
 
+/* RC return codes */
+typedef enum {
+    RC_OK,      /* Success                  */
+    RC_ERR_ARG, /* Argument error           */
+    RC_ERR_USE, /* Usage error              */
+    RC_ERR_MEM, /* Memory error             */
+    RC_ERR_SYS, /* System error (see errno) */
+    RC_ERR_IO,  /* Input/output error       */
+    RC_ERR_FMT, /* Formatting error         */
+    RC_ERR_INT, /* Internal error           */
+} rc_return_t;
 
-rc_result_t rc_Err              (void);
+/*rc_result_t rc_Err              (void);
 rc_result_t rc_Warn             (void);
 rc_result_t rc_PathAppend       (int bExists, char **pszPaths);
 rc_result_t rc_PathPrepend      (int bExists, char **pszPaths);
@@ -53,6 +64,6 @@
 rc_result_t rc_ServiceState     (char *szService, char **pszServState);
 rc_result_t rc_TmpDirGen        (char *szProgram);
 rc_result_t rc_TmpDirFile       (char *szProgram, char *szFilename, *szVar);
-rc_result_t rc_TmpDirDel        (char *szProgram);
+rc_result_t rc_TmpDirDel        (char *szProgram);*/
 
 #endif /* __OSSPRC_H__ */

CVSTrac 2.0.1