Implemented AddPrinterA, AddPrinterDriverA and GetPrinterDriverDirectory
[wine.git] / include / debugstr.h
blobfd7124068c38e449e5855215c3c7222127fc443b
1 #ifndef __WINE_DEBUGSTR_H
2 #define __WINE_DEBUGSTR_H
4 #include "windef.h"
6 /* These function return a printable version of a string, including
7 quotes. The string will be valid for some time, but not indefinitely
8 as strings are re-used. */
10 extern LPSTR debugstr_an (LPCSTR s, int n);
11 extern LPSTR debugstr_a (LPCSTR s);
12 extern LPSTR debugstr_wn (LPCWSTR s, int n);
13 extern LPSTR debugstr_w (LPCWSTR s);
14 extern LPSTR debugres_a (LPCSTR res);
15 extern LPSTR debugres_w (LPCWSTR res);
16 extern void debug_dumpstr (LPCSTR s);
18 #ifdef __GNUC__
19 extern int dbg_printf(const char *format, ...) __attribute__((format (printf,1,2)));
20 #else
21 extern int dbg_printf(const char *format, ...);
22 #endif
24 #endif /* __WINE_DEBUGSTR_H */