mirror of
https://github.com/hmaxnl/netex.git
synced 2024-09-19 22:44:20 +02:00
18 lines
381 B
C
18 lines
381 B
C
#ifndef LIST_H
|
|
#define LIST_H
|
|
#include <stdio.h>
|
|
#include <ctype.h>
|
|
|
|
|
|
struct exp_data{
|
|
char* name;
|
|
char* command;
|
|
int (*func_ptr) (void*);
|
|
};
|
|
// Exp list functions
|
|
void list_add(char* name, char* command, int (*exp_func) (void*));
|
|
void print_list_items();
|
|
struct exp_data* get_command(char* command);
|
|
struct exp_data* get_from_list(int index);
|
|
void clear_list();
|
|
#endif |