summaryrefslogtreecommitdiffstats
path: root/src/include/gpxe
diff options
context:
space:
mode:
authorMichael Brown2007-05-31 15:26:50 +0200
committerMichael Brown2007-05-31 15:26:50 +0200
commit335b99a39d468c7671f584bee362856cf5c2ed99 (patch)
tree38df31c684e1023b74a6e86a78199fe3eecead77 /src/include/gpxe
parentAdd xfer_[v]printf() functions. (diff)
downloadipxe-335b99a39d468c7671f584bee362856cf5c2ed99.tar.gz
ipxe-335b99a39d468c7671f584bee362856cf5c2ed99.tar.xz
ipxe-335b99a39d468c7671f584bee362856cf5c2ed99.zip
Move [v]ssnprintf() from iscsi.c into vsprintf.c; we need them
elsewhere as well.
Diffstat (limited to 'src/include/gpxe')
-rw-r--r--src/include/gpxe/vsprintf.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/gpxe/vsprintf.h b/src/include/gpxe/vsprintf.h
index ac87c5a8b..9360f29b7 100644
--- a/src/include/gpxe/vsprintf.h
+++ b/src/include/gpxe/vsprintf.h
@@ -64,4 +64,8 @@ struct printf_context {
extern size_t vcprintf ( struct printf_context *ctx, const char *fmt,
va_list args );
+extern int vssnprintf ( char *buf, ssize_t ssize, const char *fmt,
+ va_list args );
+extern int ssnprintf ( char *buf, ssize_t ssize, const char *fmt, ... );
+
#endif /* _GPXE_VSPRINTF_H */