OSSP CVS Repository

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

ossp-pkg/path/path.h 1.2 -> 1.3

--- path.h       2002/08/03 10:23:41     1.2
+++ path.h       2002/08/03 21:00:14     1.3
@@ -31,11 +31,26 @@
 #ifndef __PATH_H__
 #define __PATH_H__
 
+typedef enum {
+    PATH_OK = 0,
+    PATH_ERR_ARG,
+    PATH_ERR_USE,
+    PATH_ERR_INT,
+    PATH_ERR_SYS,
+    PATH_ERR_EXS
+} path_rc_t;
+
+typedef enum {
+    PATH_TEMP_FILE,
+    PATH_TEMP_DIR
+} path_temp_t;
+
 char *path_abs2rel  (char *, size_t, const char *, const char *);
 char *path_rel2abs  (char *, size_t, const char *, const char *);
 char *path_resolve  (char *, size_t, const char *);
 char *path_dirname  (char *, size_t, const char *);
 char *path_basename (char *, size_t, const char *);
+path_rc_t path_temp(path_temp_t id, const char *tmpl, char **res_ptr, size_t *res_size, int *res_fd);
 
 #endif /* __PATH_H__ */
 

CVSTrac 2.0.1