summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/functypes.h4
-rw-r--r--src/include/skalibs/posixplz.h10
-rw-r--r--src/include/skalibs/surf.h2
3 files changed, 16 insertions, 0 deletions
diff --git a/src/include/skalibs/functypes.h b/src/include/skalibs/functypes.h
index 8308fda..9c77f22 100644
--- a/src/include/skalibs/functypes.h
+++ b/src/include/skalibs/functypes.h
@@ -4,6 +4,7 @@
#define FUNCTYPES_H
#include <stdint.h>
+#include <sys/stat.h>
#include <sys/uio.h>
typedef int uintcmpfunc_t (unsigned int, unsigned int, void *) ;
@@ -45,4 +46,7 @@ typedef alliofunc_t *alliofunc_t_ref ;
typedef size_t alliovfunc_t (int, struct iovec const *, unsigned int) ;
typedef alliovfunc_t *alliovfunc_t_ref ;
+typedef int createfunc_t (char const *, mode_t, void *) ;
+typedef createfunc_t *createfunc_t_ref ;
+
#endif
diff --git a/src/include/skalibs/posixplz.h b/src/include/skalibs/posixplz.h
index 97c1ef1..b54faa0 100644
--- a/src/include/skalibs/posixplz.h
+++ b/src/include/skalibs/posixplz.h
@@ -4,7 +4,10 @@
#define SKALIBS_POSIXPLZ_H
#include <sys/types.h>
+#include <sys/stat.h>
+
#include <skalibs/gccattributes.h>
+#include <skalibs/functypes.h>
/*
@@ -44,4 +47,11 @@ extern void unlink_void (char const *) ;
extern pid_t doublefork (void) ;
extern int touch (char const *) ;
+extern int mkfiletemp (char *, createfunc_t_ref, mode_t, void *) ;
+extern int mkptemp (char *) ;
+extern int mkltemp (char const *, char *) ;
+extern int mkLtemp (char const *, char *) ;
+extern int mkctemp (char *, mode_t, dev_t) ;
+extern int mkbtemp (char *, mode_t, dev_t) ;
+
#endif
diff --git a/src/include/skalibs/surf.h b/src/include/skalibs/surf.h
index 99408ca..15e9215 100644
--- a/src/include/skalibs/surf.h
+++ b/src/include/skalibs/surf.h
@@ -19,5 +19,7 @@ struct SURFSchedule
extern void surf_init (SURFSchedule *, char const *) ; /* 160 chars */
extern void surf (SURFSchedule *, char *, size_t) ;
+extern void autosurf (char *, size_t) ;
+extern void autosurf_name (char *, size_t) ;
#endif