1 #ifndef NM_MACHINE_H_
2 #define NM_MACHINE_H_
3 
4 #include <nm_string.h>
5 #include <nm_vector.h>
6 
7 typedef struct {
8      nm_str_t arch;
9      nm_str_t def;
10      nm_vect_t *list;
11 } nm_mach_t;
12 
13 #define NM_INIT_MLIST { NM_INIT_STR, NM_INIT_STR, NULL }
14 
15 void nm_mach_free(void);
16 void nm_mach_vect_ins_mlist_cb(void *unit_p, const void *ctx);
17 void nm_mach_vect_free_mlist_cb(void *unit_p);
18 const char **nm_mach_get(const nm_str_t *arch);
19 const char *nm_mach_get_default(const nm_str_t *arch);
20 
21 #endif /* NM_MACHINE_H_ */
22 /* vim:set ts=4 sw=4: */
23