/[gxemul]/trunk/src/include/emul.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/include/emul.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 32 by dpavlin, Mon Oct 8 16:20:58 2007 UTC revision 34 by dpavlin, Mon Oct 8 16:21:17 2007 UTC
# Line 2  Line 2 
2  #define EMUL_H  #define EMUL_H
3    
4  /*  /*
5   *  Copyright (C) 2004-2006  Anders Gavare.  All rights reserved.   *  Copyright (C) 2004-2007  Anders Gavare.  All rights reserved.
6   *   *
7   *  Redistribution and use in source and binary forms, with or without   *  Redistribution and use in source and binary forms, with or without
8   *  modification, are permitted provided that the following conditions are met:   *  modification, are permitted provided that the following conditions are met:
# Line 28  Line 28 
28   *  SUCH DAMAGE.   *  SUCH DAMAGE.
29   *   *
30   *   *
31   *  $Id: emul.h,v 1.39 2006/09/05 06:13:27 debug Exp $   *  $Id: emul.h,v 1.41 2006/12/30 13:31:00 debug Exp $
32   */   */
33    
34  #include "misc.h"  #include "misc.h"
# Line 42  struct emul { Line 42  struct emul {
42    
43          char            *name;          char            *name;
44    
45            char            *path;                  /*  e.g. "emul[0]"  */
46    
47          int             next_serial_nr;          int             next_serial_nr;
48          struct net      *net;          struct net      *net;
49    
# Line 56  struct emul { Line 58  struct emul {
58    
59    
60  /*  emul.c:  */  /*  emul.c:  */
61  struct emul *emul_new(char *name);  struct emul *emul_new(char *name, int id);
62  void emul_destroy(struct emul *emul);  void emul_destroy(struct emul *emul);
63    
64  struct machine *emul_add_machine(struct emul *e, char *name);  struct machine *emul_add_machine(struct emul *e, char *name);
# Line 64  void emul_machine_setup(struct machine * Line 66  void emul_machine_setup(struct machine *
66          int n_devices, char **device_names);          int n_devices, char **device_names);
67  void emul_dumpinfo(struct emul *e);  void emul_dumpinfo(struct emul *e);
68  void emul_simple_init(struct emul *emul);  void emul_simple_init(struct emul *emul);
69  struct emul *emul_create_from_configfile(char *fname);  struct emul *emul_create_from_configfile(char *fname, int id);
70  void emul_run(struct emul **emuls, int n_emuls);  void emul_run(struct emul **emuls, int n_emuls);
71    
72    

Legend:
Removed from v.32  
changed lines
  Added in v.34

  ViewVC Help
Powered by ViewVC 1.1.26