Ignore:
Timestamp:
Oct 13, 2001, 7:57:58 PM (24 years ago)
Author:
umoeller
Message:

Lots of updates from the last week for conditional compiles and other stuff.

File:
1 edited

Legend:

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

    r102 r108  
    2020    #define TMSGFILE_HEADER_INCLUDED
    2121
    22     APIRET tmfGetMessage(PCHAR *pTable,
     22    #ifndef XSTRING_HEADER_INCLUDED
     23        #error tmsgfile.h requires xstring.h to be included first.
     24    #endif
     25
     26    #ifndef XWPTREE_INCLUDED
     27        #error tmsgfile.h requires tree.h to be included first.
     28    #endif
     29
     30    /*
     31     *@@ TMFMSGFILE:
     32     *
     33     *@@added V0.9.16 (2001-10-08) [umoeller]
     34     */
     35
     36    typedef struct _TMFMSGFILE
     37    {
     38        PSZ     pszFilename;            // copy of .TMF file name
     39
     40        XSTRING strContent;             // file's full contents (converted to C LF format)
     41
     42        TREE    *IDsTreeRoot;           // root of tree with MSGENTRY's (a TREE* really)
     43        ULONG   cIDs;                   // count of entries in the tree
     44    } TMFMSGFILE, *PTMFMSGFILE;
     45
     46    APIRET tmfOpenMessageFile(const char *pcszMessageFile,
     47                              PTMFMSGFILE *ppMsgFile);
     48
     49    APIRET tmfCloseMessageFile(PTMFMSGFILE *ppMsgFile);
     50
     51    APIRET tmfGetMessage(PTMFMSGFILE pMsgFile,
     52                         PCSZ pcszMessageName,
     53                         PXSTRING pstr,
     54                         PSZ *pTable,
     55                         ULONG cTableEntries);
     56
     57    /* APIRET tmfGetMessage(PCHAR *pTable,
    2358                         ULONG cTable,
    2459                         PBYTE pbBuffer,
     
    3570                            PCSZ pszFile,
    3671                            PULONG pcbMsg);
     72       */
    3773
    3874#endif // TMSGFILE_HEADER_INCLUDED
Note: See TracChangeset for help on using the changeset viewer.