122
122
extern const char *my_progname; /* program-name (printed in errors) */
124
124
extern DRIZZLED_API int my_umask, /* Default creation mask */
126
my_recived_signals, /* Signals we have got */
127
my_safe_to_handle_signal, /* Set when allowed to SIGTSTP */
128
my_dont_interrupt; /* call remember_intr when set */
129
126
extern bool my_use_symdir;
131
128
extern uint32_t my_default_record_cache_size;
132
extern bool my_disable_async_io,
133
my_disable_flush_key_blocks, my_disable_symlinks;
134
extern char wild_many, wild_one, wild_prefix;
129
extern bool my_disable_symlinks;
130
extern const char wild_many, wild_one, wild_prefix;
135
131
extern const char *charsets_dir;
137
133
extern bool timed_mutexes;
247
243
extern char *convert_dirname(char *to, const char *from, const char *from_end);
248
244
extern char * fn_ext(const char *name);
249
245
extern char * fn_same(char * toname,const char *name,int flag);
250
DRIZZLED_API char * fn_format(char * to,const char *name,const char *dir,
251
const char *form, uint32_t flag);
246
DRIZZLED_API char * fn_format(char * to,const char *name,const char *dir, const char *form, uint32_t flag);
252
247
extern size_t unpack_dirname(char * to,const char *from);
253
248
extern size_t unpack_filename(char * to,const char *from);
254
249
extern char * intern_filename(char * to,const char *from);
255
250
extern int pack_filename(char * to, const char *name, size_t max_length);
256
extern char * my_load_path(char * to, const char *path,
257
const char *own_path_prefix);
258
extern int wild_compare(const char *str,const char *wildstr,
259
bool str_is_pattern);
261
extern bool array_append_string_unique(const char *str,
262
const char **array, size_t size);
263
extern int init_record_cache(RECORD_CACHE *info,size_t cachesize,int file,
264
size_t reclength,enum cache_type type,
266
extern int read_cache_record(RECORD_CACHE *info,unsigned char *to);
267
extern int end_record_cache(RECORD_CACHE *info);
268
extern int write_cache_record(RECORD_CACHE *info,my_off_t filepos,
269
const unsigned char *record,size_t length);
270
extern int flush_write_cache(RECORD_CACHE *info);
271
extern void sigtstp_handler(int signal_number);
272
extern void handle_recived_signals(void);
251
extern char * my_load_path(char * to, const char *path, const char *own_path_prefix);
274
253
extern void my_set_alarm_variable(int signo);
275
254
extern void my_string_ptr_sort(unsigned char *base,uint32_t items,size_t size);