call painter funcs, not orders

This commit is contained in:
jsorg71
2005-06-30 01:01:19 +00:00
parent 992dbfa7b3
commit 79557c9cc6
6 changed files with 63 additions and 16 deletions
+5 -3
View File
@@ -21,8 +21,10 @@
#if !defined(FILE_H)
#define FILE_H
int file_read_sections(int fd, struct list* names);
int file_read_section(int fd, char* section, struct list* names,
struct list* values);
int
file_read_sections(int fd, struct list* names);
int
file_read_section(int fd, char* section, struct list* names,
struct list* values);
#endif
+16 -8
View File
@@ -31,13 +31,21 @@ struct list
int auto_free;
};
struct list* list_create(void);
void list_delete(struct list* self);
void list_add_item(struct list* self, long item);
long list_get_item(struct list* self, int index);
void list_clear(struct list* self);
int list_index_of(struct list* self, long item);
void list_remove_item(struct list* self, int index);
void list_insert_item(struct list* self, int index, long item);
struct list*
list_create(void);
void
list_delete(struct list* self);
void
list_add_item(struct list* self, long item);
long
list_get_item(struct list* self, int index);
void
list_clear(struct list* self);
int
list_index_of(struct list* self, long item);
void
list_remove_item(struct list* self, int index);
void
list_insert_item(struct list* self, int index, long item);
#endif
+2
View File
@@ -24,6 +24,8 @@
#if !defined(PARSE_H)
#define PARSE_H
#include "arch.h"
#if defined(L_ENDIAN)
#elif defined(B_ENDIAN)
#else