| NEWS APPS DOCS ABOUT | ||||
Autodocs Include classes clib alib_protos.h alib_stdio_protos.h amigaguide_protos.h aml_protos.h arexx_protos.h asl_protos.h battclock_protos.h battmem_protos.h bevel_protos.h bitmap_protos.h bullet_protos.h button_protos.h cardres_protos.h checkbox_protos.h chooser_protos.h cia_protos.h clicktab_protos.h colorwheel_protos.h commodities_protos.h console_protos.h datatypes_protos.h datebrowser_protos.h ddebug_protos.h debug_protos.h disk_protos.h diskfont_protos.h dos_protos.h drawlist_protos.h exec_protos.h expansion_protos.h fuelgauge_protos.h gadtools_protos.h getfile_protos.h getfont_protos.h getscreenmode_protos.h glyph_protos.h graphics_protos.h icon_protos.h iffparse_protos.h input_protos.h integer_protos.h intuition_protos.h keymap_protos.h label_protos.h layers_protos.h layout_protos.h listbrowser_protos.h locale_protos.h lowlevel_protos.h macros.h mathffp_protos.h mathieeedoubbas_protos.h mathieeedoubtrans_protos.h mathieeesingbas_protos.h mathieeesingtrans_protos.h mathtrans_protos.h misc_protos.h nonvolatile_protos.h page_protos.h palette_protos.h penmap_protos.h popcycle_protos.h potgo_protos.h radiobutton_protos.h ramdrive_protos.h reaction_lib_protos.h realtime_protos.h requester_protos.h resource_protos.h rexxsyslib_protos.h scroller_protos.h slider_protos.h space_protos.h speedbar_protos.h string_protos.h texteditor_protos.h timer_protos.h translator_protos.h utility_protos.h virtual_protos.h wb_protos.h window_protos.h datatypes devices diskfont dos exec gadgets graphics hardware images intuition libraries pragma pragmas prefs proto reaction resources rexx utility workbench GuruMeditation | #ifndef CLIB_UTILITY_PROTOS_H
#define CLIB_UTILITY_PROTOS_H
/*
** $VER: utility_protos.h 40.1 (17.5.1996)
**
** C prototypes. For use with 32 bit integers only.
**
** Copyright © 2001 Amiga, Inc.
** All Rights Reserved
*/
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif
#ifndef EXEC_PORTS_H
#include <exec/ports.h>
#endif
#ifndef UTILITY_TAGITEM_H
#include <utility/tagitem.h>
#endif
#ifndef UTILITY_DATE_H
#include <utility/date.h>
#endif
#ifndef UTILITY_HOOKS_H
#include <utility/hooks.h>
#endif
#ifndef UTILITY_NAME_H
#include <utility/name.h>
#endif
/*--- functions in V36 or higher (Release 2.0) ---*/
/* Tag item functions */
struct TagItem *FindTagItem( Tag tagVal, CONST struct TagItem *tagList );
ULONG GetTagData( Tag tagValue, ULONG defaultVal, CONST struct TagItem *tagList );
ULONG PackBoolTags( ULONG initialFlags, CONST struct TagItem *tagList, CONST struct TagItem *boolMap );
struct TagItem *NextTagItem( struct TagItem **tagListPtr );
VOID FilterTagChanges( struct TagItem *changeList, struct TagItem *originalList, ULONG apply );
VOID MapTags( struct TagItem *tagList, CONST struct TagItem *mapList, ULONG mapType );
struct TagItem *AllocateTagItems( ULONG numTags );
struct TagItem *CloneTagItems( CONST struct TagItem *tagList );
VOID FreeTagItems( struct TagItem *tagList );
VOID RefreshTagItemClones( struct TagItem *clone, CONST struct TagItem *original );
BOOL TagInArray( Tag tagValue, CONST Tag *tagArray );
ULONG FilterTagItems( struct TagItem *tagList, CONST Tag *filterArray, ULONG logic );
/* Hook functions */
ULONG CallHookPkt( struct Hook *hook, APTR object, APTR paramPacket );
/* Date functions */
VOID Amiga2Date( ULONG seconds, struct ClockData *result );
ULONG Date2Amiga( CONST struct ClockData *date );
ULONG CheckDate( CONST struct ClockData *date );
/* 32 bit integer muliply functions */
LONG SMult32( LONG arg1, LONG arg2 );
ULONG UMult32( ULONG arg1, ULONG arg2 );
/* 32 bit integer division funtions. The quotient and the remainder are */
/* returned respectively in d0 and d1 */
LONG SDivMod32( LONG dividend, LONG divisor );
ULONG UDivMod32( ULONG dividend, ULONG divisor );
/*--- functions in V37 or higher (Release 2.04) ---*/
/* International string routines */
LONG Stricmp( CONST_STRPTR string1, CONST_STRPTR string2 );
LONG Strnicmp( CONST_STRPTR string1, CONST_STRPTR string2, LONG length );
UBYTE ToUpper( ULONG character );
UBYTE ToLower( ULONG character );
/*--- functions in V39 or higher (Release 3) ---*/
/* More tag Item functions */
VOID ApplyTagChanges( struct TagItem *list, CONST struct TagItem *changeList );
/* 64 bit integer muliply functions. The results are 64 bit quantities */
/* returned in D0 and D1 */
LONG SMult64( LONG arg1, LONG arg2 );
ULONG UMult64( ULONG arg1, ULONG arg2 );
/* Structure to Tag and Tag to Structure support routines */
ULONG PackStructureTags( APTR pack, CONST ULONG *packTable, CONST struct TagItem *tagList );
ULONG UnpackStructureTags( CONST APTR pack, CONST ULONG *packTable, struct TagItem *tagList );
/* New, object-oriented NameSpaces */
BOOL AddNamedObject( struct NamedObject *nameSpace, struct NamedObject *object );
struct NamedObject *AllocNamedObjectA( CONST_STRPTR name, CONST struct TagItem *tagList );
struct NamedObject *AllocNamedObject( CONST_STRPTR name, Tag tag1, ... );
LONG AttemptRemNamedObject( struct NamedObject *object );
struct NamedObject *FindNamedObject( struct NamedObject *nameSpace, CONST_STRPTR name, struct NamedObject *lastObject );
VOID FreeNamedObject( struct NamedObject *object );
STRPTR NamedObjectName( struct NamedObject *object );
VOID ReleaseNamedObject( struct NamedObject *object );
VOID RemNamedObject( struct NamedObject *object, struct Message *message );
/* Unique ID generator */
ULONG GetUniqueID( VOID );
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* CLIB_UTILITY_PROTOS_H */
Comments |
| $VER: d0.se 1.14 Copyright © 2011-2025 Tobias Geijersson support at d0 dot se |