dbgif.h
742 Bytes
#include <stdio.h>
#include <sys/socket.h>
#include "rkfsn.h"
#include "dbgproto.h"
#include "dbgif_services.h"
#include "os.h"
#include "em.h"
#define MAX_BACKLOG 5
extern int ttyFD;
extern int verbose;
extern int debug;
extern int usetcp;
extern int consolelog;
extern int st_debugFD;
extern int currentFD;
extern int slowsend;
extern char* progName;
extern FILE *fp;
extern FILE *consfp;
extern void stError (const char *str);
extern void SendBlock (void *src, int len);
extern void flushPrintBuf(void);
extern unsigned int cellBuf[1024];
extern int ttyRead(void);
extern int netRead(int sock, char *buf, int len);
extern void prEvent(KKHeader *event);
extern int stDispatchRequest (KKHeader* request);
void perror2(char* reason);