28 |
* SUCH DAMAGE. |
* SUCH DAMAGE. |
29 |
* |
* |
30 |
* |
* |
31 |
* $Id: emul.h,v 1.41 2006/12/30 13:31:00 debug Exp $ |
* $Id: emul.h,v 1.43 2007/08/29 20:36:49 debug Exp $ |
32 |
*/ |
*/ |
33 |
|
|
34 |
#include "misc.h" |
#include "misc.h" |
42 |
|
|
43 |
char *name; |
char *name; |
44 |
|
|
|
char *path; /* e.g. "emul[0]" */ |
|
|
|
|
45 |
int next_serial_nr; |
int next_serial_nr; |
46 |
struct net *net; |
struct net *net; |
47 |
|
|
56 |
|
|
57 |
|
|
58 |
/* emul.c: */ |
/* emul.c: */ |
59 |
struct emul *emul_new(char *name, int id); |
struct emul *emul_new(char *name); |
60 |
void emul_destroy(struct emul *emul); |
void emul_destroy(struct emul *emul); |
61 |
|
|
62 |
struct machine *emul_add_machine(struct emul *e, char *name); |
struct machine *emul_add_machine(struct emul *e, char *name); |
64 |
int n_devices, char **device_names); |
int n_devices, char **device_names); |
65 |
void emul_dumpinfo(struct emul *e); |
void emul_dumpinfo(struct emul *e); |
66 |
void emul_simple_init(struct emul *emul); |
void emul_simple_init(struct emul *emul); |
67 |
struct emul *emul_create_from_configfile(char *fname, int id); |
struct emul *emul_create_from_configfile(char *fname); |
68 |
void emul_run(struct emul **emuls, int n_emuls); |
void emul_run(struct emul *emul); |
69 |
|
|
70 |
|
|
71 |
/* emul_parse.c: */ |
/* emul_parse.c: */ |