00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef __AREA_STUFF_H__
00011 #define __AREA_STUFF_H__ 1
00012
00013
00014
00015 t_rec *rec_alloc __P((void));
00016 int cmp __P((t_rec *rec1, t_rec *rec2));
00017 void __rec_free __P((t_rec *rec));
00018 void rec_alloc_multi __P((t_rec **recs, int nalloc));
00019 void rec_free_multi __P((t_rec **recs, int nalloc));
00020 void rec_free_unused __P((t_rec **recs, int nunused));
00021 int coalesce __P((void *data1, void *data2));
00022 void print __P((void *data));
00023 void copy __P((void *data_src, void *data_dst));
00024 void del_area __P((u_int32_t addr, int nb_blks));
00025 void mod_area __P((u_int32_t addr, int nb_blks));
00026 void raw_add_area __P((u_int32_t addr, int nb_blks));
00027 void add_area __P((void));
00028 void coal_area __P((void));
00029 void try_coal_area __P((void));
00030 int add_cmd __P((t_list *args, void *data));
00031 int coal_cmd __P((t_list *args, void *data));
00032 int try_coal_cmd __P((t_list *args, void *data));
00033 int del_cmd __P((t_list *args, void *data));
00034 int del_rand_area_foreach_fn __P((t_area *tmp, void *val));
00035 int del_rand_area __P((int nb));
00036 int del_rand_cmd __P((t_list *args, void *data));
00037 int mod_cmd __P((t_list *args, void *data));
00038 int raw_add_cmd __P((t_list *args, void *data));
00039 int gen_foreach_fn __P((t_area *tmp, void *val));
00040 int gen __P((void));
00041 int check_foreach_fn __P((t_area *tmp, void *val));
00042 int check __P((void));
00043 int status __P((int do_fatal, int do_print));
00044 int status_cmd __P((t_list *args, void *data));
00045 int fit_cmd __P((t_list *args, void *data));
00046 int fitopts_cmd __P((t_list *args, void *data));
00047 int rand_color_cmd __P((t_list *args, void *data));
00048 int rand_nb_blks_cmd __P((t_list *args, void *data));
00049 int color_cmd __P((t_list *args, void *data));
00050 int nb_blks_cmd __P((t_list *args, void *data));
00051 int expect_cmd __P((t_list *args, void *data));
00052 int line_parse __P((t_list *args, void *data));
00053 void do_script __P((char *fname));
00054 #endif