/**
 * Scout - The Amiga System Monitor
 *
 *------------------------------------------------------------------
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 *
 * You must not use this source code to gain profit of any kind!
 *
 *------------------------------------------------------------------
 *
 * @author Andreas Gelhausen
 * @author Richard Körber <rkoerber@gmx.de>
 */


/* Prototypes for functions defined in
objects/scout_patches.c
 */

struct PatchEntry {
    struct MinNode pe_Node;
    APTR pe_Addr;
    UBYTE pe_Address[ADDRESS_LENGTH];
    struct Library *pe_LibraryAddr;
    UBYTE pe_Library[NODENAME_LENGTH];
    ULONG pe_Offset;
    UBYTE pe_OffsetDec[NUMBER_LENGTH];
    UBYTE pe_OffsetHex[NUMBER_LENGTH];
    UBYTE pe_Function[NODENAME_LENGTH];
    UBYTE pe_State[NODETYPE_LENGTH];
    UBYTE pe_Patcher[TEXT_LENGTH];
    UBYTE pe_Type[NODETYPE_LENGTH];
};

void PrintPatches( char * );

void SendPatchList( void );

struct PatchesWinData {
    UBYTE pwd_Title[WINDOW_TITLE_LENGTH];
    APTR pwd_PatchList;
    APTR pwd_PatchText;
    APTR pwd_PatchCount;
    APTR pwd_EnableButton;
    APTR pwd_DisableButton;
    struct SetManPort *pwd_SetManPort;
};

#define PatchesWindowObject                  NewObject(PatchesWinClass->mcc_Class, NULL

ULONG __asm __saveds PatchesWinDispatcher( register __a0 struct IClass *cl,
                                           register __a2 Object *obj,
                                           register __a1 Msg msg );

