home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1997 January
/
Chip_1997-01_cd.bin
/
ms95
/
disk22
/
dir08
/
f012210.re_
/
f012210.re
Wrap
Text File
|
1996-04-02
|
3KB
|
131 lines
/*----------------------------------------------------------------------+
| |
| Copyright (c) 1985-93; Bentley Systems, Inc., All rights reserved. |
| |
| "MicroStation", "MDL", and "MicroCSL" are trademarks of Bentley |
| Systems, Inc. |
| |
| Limited permission is hereby granted to reproduce and modify this |
| copyrighted material provided that the resulting code is used only |
| in conjunction with Bentley Systems products under the terms of the |
| license agreement provided therein, and that this notice is retained |
| in its entirety in any such reproduction or modification. |
| |
+----------------------------------------------------------------------*/
/*----------------------------------------------------------------------+
| |
| $Workfile: msscan.fdf $
| $Revision: 6.3 $
| $Date: 07 Nov 1995 10:35:40 $
| |
+----------------------------------------------------------------------*/
#if !defined (__msscanFDF__)
#define __msscanFDF__
/*----------------------------------------------------------------------+
| |
| Header File Dependencies |
| |
+----------------------------------------------------------------------*/
#if !defined (__dloadlibH__)
#include "dloadlib.h"
#endif
#if !defined (__mdlH__)
#include "mdl.h"
#endif
#ifndef __scannerH__
#include "scanner.h"
#endif
#include <stdio.h>
#if defined (__BSI__)
#include <miscan.fdf>
#endif
/*======================================================================+
| |
| Function Definitions |
| |
+======================================================================*/
int mdlScan_file
(
void *outBuff,
int *returnSize,
int buffSize,
unsigned long *filePos
);
void mdlScan_initScanlist
(
ExtScanlist *scanlist
);
int mdlScan_initialize
(
int fileNumber,
ExtScanlist *scanListP
);
int mdlScan_initOpenedFile
(
FILE *fileP,
ExtScanlist *scanListP
);
void mdlScan_noRangeCheck
(
ExtScanlist *scanlist
);
void mdlScan_restoreContext
(
ScanContext *contextBuffer
);
void mdlScan_saveContext
(
ScanContext *contextBuffer
);
void mdlScan_setDrawnElements
(
ExtScanlist *scanlist
);
void mdlScan_singleViewClass
(
ExtScanlist *scanlist,
int viewIndex
);
void mdlScan_viewRange
(
ExtScanlist *scanlist,
int view,
int file
);
int mdlScan_extended
(
void *scanBuf, /* <= output buffer */
int *scanSize, /* <=> size of buffer, num words returned */
int *eofBlock, /* <= block where we stopped scanning */
int *eofByte, /* <= byte where we stopped scanning */
int (*iteratorFunc)(), /* => function called for each accepted element */
void *iteratorArg /* => argument passed to iteratorFunc */
);
#endif