/[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 24 by dpavlin, Mon Oct 8 16:19:56 2007 UTC revision 44 by dpavlin, Mon Oct 8 16:22:56 2007 UTC
# Line 2  Line 2 
2  #define EMUL_H  #define EMUL_H
3    
4  /*  /*
5   *  Copyright (C) 2004-2005  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.38 2006/03/10 16:46:54 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"
35    
36  struct machine;  struct machine;
37  struct net;  struct net;
38    struct settings;
39    
40  struct emul {  struct emul {
41            struct settings *settings;
42    
43          char            *name;          char            *name;
44    
45          int             next_serial_nr;          int             next_serial_nr;
# Line 54  struct emul { Line 57  struct emul {
57    
58  /*  emul.c:  */  /*  emul.c:  */
59  struct emul *emul_new(char *name);  struct emul *emul_new(char *name);
60    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);
63  void emul_machine_setup(struct machine *machine, int n_load, char **load_names,  void emul_machine_setup(struct machine *machine, int n_load, char **load_names,
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);  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:  */

Legend:
Removed from v.24  
changed lines
  Added in v.44

  ViewVC Help
Powered by ViewVC 1.1.26