/*
 * PSPLINK
 * -----------------------------------------------------------------------
 * Licensed under the BSD license, see LICENSE in PSPLINK root for details.
 *
 * apihook.h - User mode API Hooking for psplink
 *
 * Copyright (c) 2005 James F <tyranid@gmail.com>
 *
 * $HeadURL: svn://svn.pspdev.org/psp/branches/psplinkusb/psplink/apihook.h $
 * $Id: apihook.h 1928 2006-05-30 10:13:33Z tyranid $
 */
#ifndef __APIHOOK_H__
#define __APIHOOK_H__

u32 apiHookByName(SceUID uid, const char *library, const char *name, void *func);
u32 apiHookByNid(SceUID uid, const char *library, u32 nid, void *func);
int apiHookGenericByName(SceUID uid, const char *library, const char *name, char ret, const char *format, int sleep);
int apiHookGenericByNid(SceUID uid, const char *library, u32 nid, char ret, const char *format, int sleep);
void apiHookGenericDelete(int id);
void apiHookGenericPrint(void);

#endif
