ccc/icons.h

19 lines
304 B
C
Raw Normal View History

#ifndef ICONS_H_
#define ICONS_H_
#define MAX_NAME 30
#define TABLE_SIZE 100
typedef struct {
char name[MAX_NAME];
char *icon;
} icon;
unsigned int hash(char *name);
2024-11-05 00:02:35 +01:00
void hashtable_init(void);
void hashtable_print(void);
int hashtable_add(icon *p);
icon *hashtable_search(char *name);
#endif