Subversion Repositories shark

Rev

Rev 1063 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
352 giacomo 1
/*
2
 * Project: S.Ha.R.K.
3
 *
4
 * Coordinators:
5
 *   Giorgio Buttazzo    <giorgio@sssup.it>
6
 *   Paolo Gai           <pj@gandalf.sssup.it>
7
 *
8
 * Authors     :
9
 *   Paolo Gai           <pj@gandalf.sssup.it>
10
 *   Massimiliano Giorgi <massy@gandalf.sssup.it>
11
 *   Luca Abeni          <luca@gandalf.sssup.it>
12
 *   (see the web pages for full authors list)
13
 *
14
 * ReTiS Lab (Scuola Superiore S.Anna - Pisa - Italy)
15
 *
16
 * http://www.sssup.it
17
 * http://retis.sssup.it
18
 * http://shark.sssup.it
19
 */
20
 
1063 tullio 21
/*
22
 * This program is free software; you can redistribute it and/or modify
23
 * it under the terms of the GNU General Public License as published by
24
 * the Free Software Foundation; either version 2 of the License, or
25
 * (at your option) any later version.
26
 *
27
 * This program is distributed in the hope that it will be useful,
28
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
29
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
30
 * GNU General Public License for more details.
31
 *
32
 * You should have received a copy of the GNU General Public License
33
 * along with this program; if not, write to the Free Software
34
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
35
 *
36
 */
37
 
352 giacomo 38
#ifndef __TRACE_QFIXED_H
39
#define __TRACE_QFIXED_H
40
 
41
#include "ll/sys/cdefs.h"
42
 
43
__BEGIN_DECLS
44
 
45
typedef struct TAGtrc_fixed_queue_args_t {
46
  char *filename;
47
  int size;
48
} TRC_FIXED_PARMS;
49
 
50
#define trc_fixed_default_parms(m)  (m).filename=NULL,\
51
                                    (m).size=8192
52
#define trc_fixed_def_filename(m,s) (m).filename=(s)
53
#define trc_fixed_def_size(m,s)     (m).size=(s)
54
 
55
/* Fixed queue, FAT16 filesystem (see kernel/modules/trcfixed.c) */
56
int trc_register_fixed_queue(void);
57
 
58
/* Fixed queue, DOSFS filesystem (see kernel/modules/trcdfix.c)
59
   Note: You MUST specify a valid filename... */
60
int trc_register_dosfs_fixed_queue(void);
61
 
62
__END_DECLS
63
#endif
64