summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-12-08 15:10:09 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-12-08 15:10:09 +0000
commit30d0c173d87b92a9ad2f3c1b643463a894abb1d9 (patch)
tree544c0917404a5ee3bf1c5f4faceeb51cff084b8d /src/include
parent2f017fbdd689e025437783cc8d675a7d304b37c3 (diff)
downloadskalibs-30d0c173d87b92a9ad2f3c1b643463a894abb1d9.tar.xz
Really add mkfootemp and autosurf, I guess ?
Diffstat (limited to 'src/include')
-rw-r--r--src/include/skalibs/functypes.h3
-rw-r--r--src/include/skalibs/posixplz.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/include/skalibs/functypes.h b/src/include/skalibs/functypes.h
index 9c77f22..bd2b1e1 100644
--- a/src/include/skalibs/functypes.h
+++ b/src/include/skalibs/functypes.h
@@ -49,4 +49,7 @@ typedef alliovfunc_t *alliovfunc_t_ref ;
typedef int createfunc_t (char const *, mode_t, void *) ;
typedef createfunc_t *createfunc_t_ref ;
+typedef int linkfunc_t (char const *, char const *) ;
+typedef linkfunc_t *linkfunc_t_ref ;
+
#endif
diff --git a/src/include/skalibs/posixplz.h b/src/include/skalibs/posixplz.h
index b54faa0..f1b54d3 100644
--- a/src/include/skalibs/posixplz.h
+++ b/src/include/skalibs/posixplz.h
@@ -48,6 +48,7 @@ extern pid_t doublefork (void) ;
extern int touch (char const *) ;
extern int mkfiletemp (char *, createfunc_t_ref, mode_t, void *) ;
+extern int mklinktemp (char const *, char *, linkfunc_t_ref) ;
extern int mkptemp (char *) ;
extern int mkltemp (char const *, char *) ;
extern int mkLtemp (char const *, char *) ;