Changeset 54 for trunk/include/helpers


Ignore:
Timestamp:
Apr 4, 2001, 4:39:06 PM (24 years ago)
Author:
umoeller
Message:

Misc changes.

Location:
trunk/include/helpers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/helpers/dialog.h

    r53 r54  
    77 *            numbering.
    88 *
     9 *@@added V0.9.9 (2001-04-01) [umoeller]
    910 *@@include <os2.h>
    1011 *@@include #include "dialog.h"
     
    7071     *      DLGHITEM.
    7172     *
    72      *@@added V0.9.9 (2001-04-01) [umoeller]
    7373     */
    7474
     
    112112     *@@ DLGHITEMTYPE:
    113113     *
    114      *@@added V0.9.9 (2001-04-01) [umoeller]
    115114     */
    116115
     
    147146     *      See dlghCreateDlg for details.
    148147     *
    149      *@@added V0.9.9 (2001-04-01) [umoeller]
    150148     */
    151149
  • trunk/include/helpers/dosh.h

    r53 r54  
    335335     *
    336336     ********************************************************************/
     337
     338    ULONG XWPENTRY doshMyPID(VOID);
     339    typedef ULONG XWPENTRY DOSHMYPID(VOID);
     340    typedef DOSHMYPID *PDOSHMYPID;
     341
     342    ULONG XWPENTRY doshMyTID(VOID);
     343    typedef ULONG XWPENTRY DOSHMYTID(VOID);
     344    typedef DOSHMYTID *PDOSHMYTID;
    337345
    338346    APIRET doshFindExecutable(const char *pcszCommand,
     
    678686    APIRET doshExecQueryBldLevel(PEXECUTABLE pExec);
    679687
    680     PFSYSRESOURCE doshExecQueryResources(PEXECUTABLE pExec,
    681                                          PULONG pcResources);
     688    APIRET doshExecQueryImportedModules(PEXECUTABLE pExec,
     689                                        PFSYSMODULE *ppaModules,
     690                                        PULONG pcModules);
     691
     692    APIRET doshExecFreeImportedModules(PFSYSMODULE paModules);
     693
     694    APIRET doshExecQueryExportedFunctions(PEXECUTABLE pExec,
     695                                          PFSYSFUNCTION *ppaFunctions,
     696                                          PULONG pcFunctions);
     697
     698    APIRET doshExecFreeExportedFunctions(PFSYSFUNCTION paFunctions);
     699
     700    APIRET doshExecQueryResources(PEXECUTABLE pExec,
     701                                  PFSYSRESOURCE *ppaResources,
     702                                  PULONG pcResources);
    682703
    683704    APIRET doshExecFreeResources(PFSYSRESOURCE paResources);
    684 
    685     PFSYSMODULE doshExecQueryImportedModules(PEXECUTABLE pExec,
    686                                              PULONG pcModules);
    687 
    688     APIRET doshExecFreeImportedModules(PFSYSMODULE paModules);
    689 
    690     PFSYSFUNCTION doshExecQueryExportedFunctions(PEXECUTABLE pExec,
    691                                                  PULONG pcFunctions);
    692 
    693     APIRET doshExecFreeExportedFunctions(PFSYSFUNCTION paFunctions);
    694705
    695706    /********************************************************************
     
    851862    #pragma pack()
    852863
    853     char* doshType2FSName(unsigned char bFSType);
     864    const char* doshType2FSName(unsigned char bFSType);
    854865
    855866    APIRET doshGetBootManager(USHORT   *pusDisk,
  • trunk/include/helpers/tree.h

    r38 r54  
    101101    } TREE, *PTREE;
    102102
     103    #if defined(__IBMC__) || defined(__IBMCPP__)
     104        #define TREEENTRY _Optlink
     105    #else
     106        // EMX or whatever: doesn't know calling conventions
     107        #define TREENTRY
     108    #endif
     109
    103110    // The tree algorithm needs to know how to sort the data.
    104111    // It does this using a functions provided by the calling program.
     
    107114    // --  -1: t1 < t2
    108115    // --  +1: t1 > t2
    109     typedef int XWPENTRY FNTREE_COMPARE_NODES(TREE *t1, TREE *t2);
    110     typedef int XWPENTRY FNTREE_COMPARE_DATA(TREE *t1, void *pData);
     116    typedef int TREEENTRY FNTREE_COMPARE_NODES(TREE *t1, TREE *t2);
     117    typedef int TREEENTRY FNTREE_COMPARE_DATA(TREE *t1, void *pData);
    111118
    112119    //  Define a function type for use with the tree traversal function
    113     typedef void XWPENTRY TREE_PROCESS(TREE *t, void *pUser);
     120    typedef void TREEENTRY TREE_PROCESS(TREE *t, void *pUser);
    114121
    115122    //  Global variables
Note: See TracChangeset for help on using the changeset viewer.