home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 January / Chip_1997-01_cd.bin / ms95 / disk22 / dir08 / f012140.re_ / f012140.re
Text File  |  1996-04-02  |  3KB  |  112 lines

  1. /*----------------------------------------------------------------------+
  2. |                                    |
  3. |  Copyright (c) 1985-93;  Bentley Systems, Inc., All rights reserved.    |
  4. |                                    |
  5. | "MicroStation", "MDL", and "MicroCSL" are trademarks of Bentley    |
  6. |  Systems, Inc.                            |
  7. |                                    |
  8. |  Limited permission is hereby granted to reproduce and modify this    |
  9. |  copyrighted material provided that the resulting code is used only     |
  10. |  in conjunction with Bentley Systems products under the terms of the    |
  11. |  license agreement provided therein, and that this notice is retained    |
  12. |  in its entirety in any such reproduction or modification.        |
  13. |                                    |
  14. +----------------------------------------------------------------------*/
  15. /*----------------------------------------------------------------------+
  16. |                                    |
  17. |   $Workfile:   msparse.fdf  $
  18. |   $Revision:   6.0  $
  19. |          $Date:   Thu Oct 21 10:37:46 1993  $
  20. |                                    |
  21. +----------------------------------------------------------------------*/
  22. #if !defined (__msparseFDF__)
  23. #define __msparseFDF__
  24.  
  25. /*----------------------------------------------------------------------+
  26. |                                    |
  27. |   Header File Dependencies                        |
  28. |                                    |
  29. +----------------------------------------------------------------------*/
  30.  
  31. #if !defined (__dloadlibH__)
  32. #include "dloadlib.h"
  33. #endif
  34.  
  35. #if !defined (__mdlH__)
  36. #include "mdl.h"
  37. #endif
  38.  
  39. #if   defined (__BSI__)
  40. #include    <miparse.fdf>
  41. #endif
  42.  
  43. /*======================================================================+
  44. |                                    |
  45. |   Function Definitions                        |
  46. |                                    |
  47. +======================================================================*/
  48.  
  49. int mdlParse_changeTargetTask
  50. (
  51. void        *appCmdTable,    /* pointer to command table */
  52. char        *taskIdP    /* => task ID to save with table */
  53. );
  54.  
  55. void *mdlParse_findTableByName /* <= Pointer to command table tree */
  56. (
  57. char        *nameP
  58. );
  59.  
  60.  
  61. char *mdlParse_getTableName     /* => task ID associated with table */
  62. (
  63. void        *appCmdTableP    /* => command table */
  64. );
  65.  
  66. int mdlParse_keyWord
  67. (
  68. char            *tableIdentifierP, /*  => Pointer to command table. */
  69. int             tableNumber,
  70. char            *keyWord
  71. );
  72.  
  73. void *mdlParse_loadCommandTable /* <= Pointer to command table */
  74. (
  75. char        *pTableName    /*  => name of the command table. */
  76. );
  77.  
  78. void *mdlParse_loadCommandTableByNumber    /* <= pointer to command table */
  79. (
  80. char        *tableNameP,    /*  => name of the command table. */
  81. ULong          tableNum       /*  => desired command table. */
  82. );
  83.  
  84. void *mdlParse_loadKeywordTable    /* <= pointer to command table */
  85. (
  86. char        *tableNameP,    /*  => name of the command table. */
  87. ULong          tableNum       /*  => desired command table. */
  88. );
  89.  
  90.  
  91. void    mdlParse_reconstructFullKeyin
  92. (
  93. char        *commandString, /* <= approx original keyin. */
  94. char        *taskName,    /* => taskid of task owning command. */
  95. ULong        commandNum,    /* => command number. */
  96. char        *unparsed    /* => unparsed portion of string. */
  97. );
  98.  
  99. MdlFunctionP mdlParse_setFunction
  100. (
  101. int            type,        /* => PARSE_... value */
  102. MdlFunctionP    function    /* => function pointer or NULL */
  103. );
  104.  
  105. void mdlParse_unloadTable
  106. (
  107. void        *appCmdTableP    /* => Command table */
  108. );
  109.  
  110.  
  111. #endif
  112.