2006-12-21 03:57:49 +00:00
|
|
|
#ifndef CASPRINTF_H_INCLUDED
|
|
|
|
#define CASPRINTF_H_INCLUDED
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
2008-05-23 20:56:24 +00:00
|
|
|
#include "c_util.h"
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
2006-12-21 03:57:49 +00:00
|
|
|
#endif
|
|
|
|
|
2008-05-23 20:56:24 +00:00
|
|
|
extern const char * const strsol;
|
|
|
|
|
2006-12-21 03:57:49 +00:00
|
|
|
void
|
|
|
|
cvasprintf(const char ** const retvalP,
|
|
|
|
const char * const fmt,
|
|
|
|
va_list varargs);
|
|
|
|
|
|
|
|
void GNU_PRINTF_ATTR(2,3)
|
|
|
|
casprintf(const char ** const retvalP, const char * const fmt, ...);
|
|
|
|
|
|
|
|
void
|
|
|
|
strfree(const char * const string);
|
|
|
|
|
2008-05-23 20:56:24 +00:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2006-12-21 03:57:49 +00:00
|
|
|
#endif
|