243
243
extern char *convert_dirname(char *to, const char *from, const char *from_end);
244
244
extern char * fn_ext(const char *name);
245
245
extern char * fn_same(char * toname,const char *name,int flag);
246
DRIZZLED_API char * fn_format(char * to,const char *name,const char *dir,
247
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);
248
247
extern size_t unpack_dirname(char * to,const char *from);
249
248
extern size_t unpack_filename(char * to,const char *from);
250
249
extern char * intern_filename(char * to,const char *from);
251
250
extern int pack_filename(char * to, const char *name, size_t max_length);
252
251
extern char * my_load_path(char * to, const char *path, const char *own_path_prefix);
254
extern int init_record_cache(RECORD_CACHE *info,size_t cachesize,int file,
255
size_t reclength,enum cache_type type,
257
extern int read_cache_record(RECORD_CACHE *info,unsigned char *to);
258
extern int end_record_cache(RECORD_CACHE *info);
259
extern int write_cache_record(RECORD_CACHE *info,my_off_t filepos,
260
const unsigned char *record,size_t length);
261
extern int flush_write_cache(RECORD_CACHE *info);
262
extern void sigtstp_handler(int signal_number);
263
extern void handle_recived_signals(void);
265
253
extern void my_set_alarm_variable(int signo);
266
254
extern void my_string_ptr_sort(unsigned char *base,uint32_t items,size_t size);
267
255
extern void radixsort_for_str_ptr(unsigned char* base[], uint32_t number_of_elements,