index
:
pki.git
abhishek-33
abhishek-34
alee-101
alee-112
alee-73
alee-76
alee-78
alee-79
alee-82
alee-86
alee-91
alee-93
alee-95
alee-interpolation
branch-10.2.7
branch-10.2.7-dev1
dev
dev1
dev2
dev3
direct-deployment
direct-deployment2
dogtag-9
javacard
master
ticket-190
ticket-190-1
ticket-213
ticket-213-1
ticket-213-2
ticket-213-3
ticket-214
ticket-214-1
ticket-214-2
ticket-2226-1
ticket-2244-2
ticket-2278-21
ticket-309
ticket-328
ticket-328-1
ticket-328-10
ticket-328-2
ticket-328-3
ticket-328-4
ticket-328-5
ticket-328-6
ticket-328-7
ticket-328-8
ticket-328-9
ticket-365
ticket-367
ticket-367-1
ticket-380
ticket-380-1
ticket-380-2
ticket-380-3
ticket-380-4
ticket-380-5
ticket-380-6
ticket-380-7
ticket-380-8
ticket-380-9
ticket-398
ticket-399
ticket-399-1
ticket-399-2
ticket-399-3
ticket-399-4
ticket-399-5
ticket-399-6
ticket-399-7
ticket-399-8
ticket-399-9
ticket-399b
ticket-400
ticket-400-1
ticket-403
ticket-404
ticket-406
ticket-407
ticket-407-1
ticket-407-2
ticket-407-2b
ticket-407-2c
ticket-407-2d
ticket-407-3
ticket-407-4
ticket-407-5
ticket-407-6
ticket-407-7
ticket-407-8
ticket-407-9
ticket-415
ticket-415-1
ticket-416
ticket-416-1
ticket-416-2
ticket-422
ticket-422-1
ticket-448
ticket-468
ticket-472
ticket-474
ticket-474-1
ticket-474-2
ticket-474-3
ticket-474-4
/**********************************************************************
util.h -
$Author$
created at: Thu Mar 9 11:55:53 JST 1995
Copyright (C) 1993-2007 Yukihiro Matsumoto
**********************************************************************/
#ifndef RUBY_UTIL_H
#define RUBY_UTIL_H 1
#if defined(__cplusplus)
extern
"C"
{
#if 0
}
/* satisfy cc-mode */
#endif
#endif
#ifndef _
#ifdef __cplusplus
# ifndef HAVE_PROTOTYPES
# define HAVE_PROTOTYPES 1
# endif
# ifndef HAVE_STDARG_PROTOTYPES
# define HAVE_STDARG_PROTOTYPES 1
# endif
#endif
#ifdef HAVE_PROTOTYPES
# define _(args) args
#else
# define _(args) ()
#endif
#ifdef HAVE_STDARG_PROTOTYPES
# define __(args) args
#else
# define __(args) ()
#endif
#endif
#define scan_oct ruby_scan_oct
unsigned long
ruby_scan_oct
(
const char
*,
int
,
int
*);
#define scan_hex ruby_scan_hex
unsigned long
ruby_scan_hex
(
const char
*,
int
,
int
*);
#if defined(__CYGWIN32__) || defined(_WIN32)
void
ruby_add_suffix
(
VALUE str
,
const char
*
suffix
);
#endif
void
ruby_qsort
(
void
*,
const int
,
const int
,
int
(*)(
const void
*,
const void
*,
void
*),
void
*);
void
ruby_setenv
(
const char
*,
const char
*);
void
ruby_unsetenv
(
const char
*);
#undef setenv
#undef unsetenv
#define setenv(name,val) ruby_setenv(name,val)
#define unsetenv(name,val) ruby_unsetenv(name);
char
*
ruby_strdup
(
const char
*);
#undef strdup
#define strdup(s) ruby_strdup(s)
char
*
ruby_getcwd
(
void
);
#define my_getcwd() ruby_getcwd()
double
ruby_strtod
(
const char
*,
char
**);
#undef strtod
#define strtod(s,e) ruby_strtod(s,e)
void
ruby_each_words
(
const char
*,
void
(*)(
const char
*,
int
,
void
*),
void
*);
#if defined(__cplusplus)
#if 0
{
/* satisfy cc-mode */
#endif
}
/* extern "C" { */
#endif
#endif
/* RUBY_UTIL_H */