diff options
Diffstat (limited to 'crypto/heimdal/lib/roken/parse_bytes.h')
-rw-r--r-- | crypto/heimdal/lib/roken/parse_bytes.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/crypto/heimdal/lib/roken/parse_bytes.h b/crypto/heimdal/lib/roken/parse_bytes.h index d7e759d..1998f70 100644 --- a/crypto/heimdal/lib/roken/parse_bytes.h +++ b/crypto/heimdal/lib/roken/parse_bytes.h @@ -31,18 +31,26 @@ * SUCH DAMAGE. */ -/* $Id: parse_bytes.h,v 1.3 2001/09/04 09:56:00 assar Exp $ */ +/* $Id: parse_bytes.h 14787 2005-04-13 13:19:07Z lha $ */ #ifndef __PARSE_BYTES_H__ #define __PARSE_BYTES_H__ -int +#ifndef ROKEN_LIB_FUNCTION +#ifdef _WIN32 +#define ROKEN_LIB_FUNCTION _stdcall +#else +#define ROKEN_LIB_FUNCTION +#endif +#endif + +int ROKEN_LIB_FUNCTION parse_bytes (const char *s, const char *def_unit); -int +int ROKEN_LIB_FUNCTION unparse_bytes (int t, char *s, size_t len); -int +int ROKEN_LIB_FUNCTION unparse_bytes_short (int t, char *s, size_t len); #endif /* __PARSE_BYTES_H__ */ |