dbgif_services.h 3.13 KB
/*
 * ==========================================================================
 * Copyright (c) 1993, Silicon Graphics, Inc.  All Rights Reserved.
 *
 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
 * the contents of this file may not be disclosed to third parties, copied
 * or duplicated in any form, in whole or in part, without the prior written
 * permission of Silicon Graphics, Inc.
 *
 * RESTRICTED RIGHTS LEGEND:
 * Use, duplication or disclosure by the Government is subject to restrictions
 * as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
 * and Computer Software clause at DFARS 252.227-7013, and/or in similar or
 * successor clauses in the FAR, DOD or NASA FAR Supplement.  Unpublished
 * rights reserved under the Copyright Laws of the United States.
 * ==========================================================================
 */
#ifndef services_h
#define services_h

#ifdef __cplusplus
extern "C" {
#endif

#ident "$Revision: 1.1.1.1 $"

#define BUFSIZE 1024

typedef void (*stRequestFunc) (KKHeader *);

extern void stLoadExecutable (KKHeader *packet);
extern void stListProcesses (KKHeader *packet);
extern void stGetExecutableName (KKHeader *packet);

extern void stListThreads (KKHeader *packet);
extern void stGetThreadStatus (KKHeader *packet);
extern void stStopProcess (KKHeader *packet);
extern void stStopThread (KKHeader *packet);
extern void stRunThread (KKHeader *packet);
extern void stRunProcess (KKHeader *packet);
extern void stKillProcess (KKHeader *packet);
extern void stSetFault (KKHeader *packet);
extern void stGetFault (KKHeader *packet);
extern void stNumRegions (KKHeader *packet);
extern void stGetRegions (KKHeader *packet);
extern void stGetGRegisterSet (KKHeader *packet);
extern void stSetGRegisterSet (KKHeader *packet);
extern void stSetSRegisterSet (KKHeader *packet);
extern void stSetVRegisterSet (KKHeader *packet);
extern void stGetFPRegisterSet (KKHeader *packet);
extern void stSetFPRegisterSet (KKHeader *packet);
extern void stReadMem (KKHeader *packet);
extern void stWriteMem (KKHeader *packet);
extern void stSetBreakPoint (KKHeader *packet);
extern void stClearBreakPoint (KKHeader *packet);
extern void stListBreakPoints (KKHeader *packet);
extern void stNumWatchPoints (KKHeader *packet);
extern void stSetWatchPoints (KKHeader *packet);
extern void stGetWatchPoints (KKHeader *packet);
extern void stGetThreadUsage (KKHeader *packet);
extern void stGetPathList (KKHeader *packet);
extern void stGetFrame (KKHeader *packet);
extern void stReboot (KKHeader *packet);
extern void stSetComm (KKHeader *packet);
extern void stSetSyscallEntry (KKHeader *packet);
extern void stGetSyscallEntry (KKHeader *packet);
extern void stSetSyscallExit (KKHeader *packet);
extern void stGetSyscallExit (KKHeader *packet);
extern void stEnableLogEvents (KKHeader *packet);
extern void stDisableLogEvents (KKHeader *packet);
extern void stFlushLogEvents (KKHeader *packet);
extern void stNewLogFile (KKHeader *packet);
extern void stAmCmd (KKHeader *packet);
extern void stStray (KKHeader *packet);

extern stRequestFunc ClientRequestDispatchTable[];

#ifdef __cplusplus
}
#endif

#endif /* services_h */