Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
maintidi.h
Go to the documentation of this file.
1 /*
2  *
3  Copyright (c) Eicon Networks, 2000.
4  *
5  This source file is supplied for the use with
6  Eicon Networks range of DIVA Server Adapters.
7  *
8  Eicon File Revision : 1.9
9  *
10  This program is free software; you can redistribute it and/or modify
11  it under the terms of the GNU General Public License as published by
12  the Free Software Foundation; either version 2, or (at your option)
13  any later version.
14  *
15  This program is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY OF ANY KIND WHATSOEVER INCLUDING ANY
17  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18  See the GNU General Public License for more details.
19  *
20  You should have received a copy of the GNU General Public License
21  along with this program; if not, write to the Free Software
22  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23  *
24  */
25 #ifndef __DIVA_EICON_TRACE_IDI_IFC_H__
26 #define __DIVA_EICON_TRACE_IDI_IFC_H__
27 
28 void *SuperTraceOpenAdapter(int AdapterNumber);
29 int SuperTraceCloseAdapter(void *AdapterHandle);
30 int SuperTraceWrite(void *AdapterHandle,
31  const void *data, int length);
32 int SuperTraceReadRequest(void *AdapterHandle, const char *name, byte *data);
33 int SuperTraceGetNumberOfChannels(void *AdapterHandle);
34 int SuperTraceASSIGN(void *AdapterHandle, byte *data);
35 int SuperTraceREMOVE(void *AdapterHandle);
36 int SuperTraceTraceOnRequest(void *hAdapter, const char *name, byte *data);
37 int SuperTraceWriteVar(void *AdapterHandle,
38  byte *data,
39  const char *name,
40  void *var,
41  byte type,
42  byte var_length);
43 int SuperTraceExecuteRequest(void *AdapterHandle,
44  const char *name,
45  byte *data);
46 
47 typedef struct _diva_strace_path2action {
48  char path[64]; /* Full path to variable */
49  void *variable; /* Variable that will receive value */
51 
52 #define DIVA_MAX_MANAGEMENT_TRANSFER_SIZE 4096
53 
54 typedef struct _diva_strace_context {
56 
57  int Adapter;
58  void *hAdapter;
59 
60  int Channels;
61  int req_busy;
62 
72 
74 
75  /*
76  Initialization request state machine
77  */
85 
90  int trace_on;
92  int l1_trace;
93  int l2_trace;
94 
95  /*
96  Trace\Event Enable
97  */
100 
106 
109 
110 
112 
116 
118 
121 
124 
127 
130 
133 
136 
140 
144 
146 
155 
159 
160 typedef struct _diva_man_var_header {
170 
171 #endif