- Adapted indenation to new agreed upon system

- Fixed bad status in poldi zug driver
This commit is contained in:
koennecke
2009-02-13 09:01:03 +00:00
parent 6c7bb14fad
commit eb72d5c486
151 changed files with 38234 additions and 38208 deletions

42
ruli.h
View File

@ -15,25 +15,25 @@
#ifndef RUENSTACK
#define RUENSTACK
typedef struct {
pObjectDescriptor pDes;
int iList;
} RuenStack, *pRuenStack;
/*----------------------------- live & death --------------------------------*/
pRuenStack CreateRuenStack(void);
void DeleteRuenStack(void *self);
/*----------------------------- what can be done with it --------------------*/
int RuenStackAdd(pRuenStack self,pRuenBuffer pVictim);
int RuenStackUnlink(pRuenStack self, int iLine);
int RuenStackInsert(pRuenStack self, int iLine, pRuenBuffer pVictim);
int RuenStackList(pRuenStack self, SConnection *pCon);
int RuenStackRun(pRuenStack self,SConnection *pCon, SicsInterp *pSics);
int RuenStackBatch(pRuenStack self,SConnection *pCon, SicsInterp *pSics);
/*------------------------- the command -------------------------------------*/
int RuenStackAction(SConnection *pCon, SicsInterp *pSics, void *pData,
int argc, char *argv[]);
#endif
typedef struct {
pObjectDescriptor pDes;
int iList;
} RuenStack, *pRuenStack;
/*----------------------------- live & death --------------------------------*/
pRuenStack CreateRuenStack(void);
void DeleteRuenStack(void *self);
/*----------------------------- what can be done with it --------------------*/
int RuenStackAdd(pRuenStack self, pRuenBuffer pVictim);
int RuenStackUnlink(pRuenStack self, int iLine);
int RuenStackInsert(pRuenStack self, int iLine, pRuenBuffer pVictim);
int RuenStackList(pRuenStack self, SConnection * pCon);
int RuenStackRun(pRuenStack self, SConnection * pCon, SicsInterp * pSics);
int RuenStackBatch(pRuenStack self, SConnection * pCon,
SicsInterp * pSics);
/*------------------------- the command -------------------------------------*/
int RuenStackAction(SConnection * pCon, SicsInterp * pSics, void *pData,
int argc, char *argv[]);
#endif