summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-30 21:00:27 -0400
committermidipix <writeonce@midipix.org>2016-06-30 21:04:09 -0400
commit0d6a53e7b766bdc3e579fab95a921ed0010014ad (patch)
treef8fd811c1912ee6ec3a39b84f47fefdf5e62f350 /include
parent47cc6e11b1911d2acc60bfae6d6ef446b41bb801 (diff)
downloadntapi-0d6a53e7b766bdc3e579fab95a921ed0010014ad.tar.bz2
ntapi-0d6a53e7b766bdc3e579fab95a921ed0010014ad.tar.xz
nt_string.h, ntapi_vtbl: added vsprintf and vsnprintf (via ntdll).
Diffstat (limited to 'include')
-rw-r--r--include/ntapi/nt_string.h11
-rw-r--r--include/ntapi/ntapi.h2
2 files changed, 13 insertions, 0 deletions
diff --git a/include/ntapi/nt_string.h b/include/ntapi/nt_string.h
index 10a413b..1a6a451 100644
--- a/include/ntapi/nt_string.h
+++ b/include/ntapi/nt_string.h
@@ -21,6 +21,17 @@ typedef int __cdecl ntapi_snprintf(
const char * format,
...);
+typedef int __cdecl ntapi_vsprintf(
+ char * buffer,
+ const char * format,
+ va_list ap);
+
+typedef int __cdecl ntapi_vsnprintf(
+ char * buffer,
+ size_t size,
+ const char * format,
+ va_list ap);
+
typedef size_t __cdecl ntapi_strlen(const char * str);
diff --git a/include/ntapi/ntapi.h b/include/ntapi/ntapi.h
index 3d3d4de..b596f32 100644
--- a/include/ntapi/ntapi.h
+++ b/include/ntapi/ntapi.h
@@ -363,6 +363,8 @@ typedef struct _ntapi_vtbl {
ntapi_memset * memset;
ntapi_sprintf * sprintf;
ntapi_snprintf * snprintf;
+ ntapi_vsprintf * vsprintf;
+ ntapi_vsnprintf * vsnprintf;
/* imported symbols: tail */
/* alternate implementation */