diff options
| author | Michael Brown | 2007-05-31 15:26:50 +0200 |
|---|---|---|
| committer | Michael Brown | 2007-05-31 15:26:50 +0200 |
| commit | 335b99a39d468c7671f584bee362856cf5c2ed99 (patch) | |
| tree | 38df31c684e1023b74a6e86a78199fe3eecead77 /src/include/gpxe | |
| parent | Add xfer_[v]printf() functions. (diff) | |
| download | ipxe-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.h | 4 |
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 */ |
