test demand data passing

This commit is contained in:
Michael Tryby
2019-04-18 13:46:18 -04:00
parent 584233e5e8
commit 4581266654
4 changed files with 146 additions and 5 deletions

View File

@@ -18,6 +18,11 @@
#include "util/list.h"
#ifdef __cplusplus
extern "C" {
#endif
// Forward declarations
typedef struct demand_data_s demand_data_t;
@@ -43,8 +48,13 @@ void set_pattern_index(list_node_t *lnode, int pattern_index);
char *get_category_name(list_node_t *lnode);
void set_category_name(list_node_t *lnode, char *category_name);
// Make this private?
// Make this private?
demand_data_t *get_demand_data(list_node_t *lnode);
#ifdef __cplusplus
}
#endif
#endif /* DEMAND_H */