Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages | Examples

ac_msgbuf.H

Go to the documentation of this file.
00001 
00002 
00007 
00008 
00010 // ArchC co-verification protocol:
00011 //
00012 // 1th MSG          : Number of devices being checked (N)
00013 // 2nd ... (N+1) MSG: Names of each devices
00014 // (N+2) ...        : Update logs
00015 //
00016 // That's why we have three different structures for 
00017 // messages
00019 #ifndef _AC_MSGBUF_H
00020 #define _AC_MSGBUF_H
00021 
00022 #include "ac_log.H"
00023 
00024 #define AC_ERROR( msg )     cerr<< "ArchC ERROR: " << msg  <<'\n'
00025 
00026 struct start_msgbuf {
00027         long mtype;
00028         int  ndevice;
00029 };
00030 
00031 struct dev_msgbuf {
00032         long mtype;
00033         char name[256];
00034 };
00035 
00036 struct log_msgbuf {
00037         long mtype;
00038         change_log log;
00039 };
00040 
00041 struct dev_list {
00042 
00043         struct dev_msgbuf dbuf;
00044         struct dev_list *next;
00045 };
00046 
00047 struct dev_loglist{
00048         long type;
00049         char name[256];
00050         log_list ref_log;
00051         log_list duv_log;
00052         struct dev_loglist *next;
00053 };
00054 
00055 #endif

Generated on Thu Jun 24 08:30:05 2004 for ArchC by doxygen 1.3.4