Files
sics/sics.h
koennecke 91d4af0541 - Adapted indenation to new agreed upon system
- Added support for second generation scriptcontext based counter
2009-02-13 09:00:03 +00:00

48 lines
1.1 KiB
C

/*--------------------------------------------------------------------------
S I C S
A common header file which includes the SICS kernel header files
in the right order.
Mark Koennecke, October 1997
-----------------------------------------------------------------------------*/
#ifndef SICSSICS
#define SICSSICS
typedef enum {
eTimer,
ePreset
} CounterMode;
/* the following line suppresses const declarations in tcl.h.
WARNING: including sics.h must always be done before tcl.h
-> makes the compiler happy M.Z. */
#define NO_CONST
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "Scommon.h"
#include "event.h"
#include "obdes.h"
#include "interrupt.h"
#include "task.h"
#include "conman.h"
#include "interface.h"
#include "devexec.h"
#include "emon.h"
#include "nserver.h"
#include "servlog.h"
extern pServer pServ;
/**
* Decode privilege text. Implemented in access.c
* @param the text to decode
* @return -1 if code invalid, else the privilege code
*/
int decodeSICSPriv(char *privText);
#endif