UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
stnd_prof_io.h
1 /* stnd_prof_io.h */
2 /* $Id: stnd_prof_io.h,v 1.1 2001/02/08 18:44:18 vlad Exp $ */
3 #ifndef __stnd_prof_io_h
4 #define __stnd_prof_io_h
5 
6 #include <mix/ErrCodes.h>
7 #include <mix/trans.h>
8 #include <mix/stnd_file.h>
9 
10 
11 /***********************************************************************
12  * Input/output of VSP-PC PROF file is controlled by this structure:
13  ***********************************************************************/
14 typedef struct
15 {
16  char *fpath; /* file path or device name */
17  int fildes; /* file handle */
18  char omode; /* operating mode: 'r' - read, 'w' - write */
19 
21 
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif /* __cplusplus */
26 
27 
28 /******************************
29  * Input/output *
30  ******************************/
31 
32 /* Open VSP-PC PROF file for writing. */
33 ErrCode stnd_open_prof_write (stnd_prof_io_t* io,
34  const char* szFilePath);
35 
36 /* Close VSP-PC file. */
37 ErrCode stnd_prof_close (stnd_prof_io_t* io);
38 
39 /* Write prof file leader (dummy one). */
40 ErrCode stnd_write_prof_leader (stnd_prof_io_t* io,
41  const STND_LEADER_Struct* leader);
42 
43 /* Write prof file prf structure with general information. */
44 ErrCode stnd_write_prof_prf (stnd_prof_io_t* io,
45  const STND_PRF_Struct* prf);
46 
47 /* Write prof prlsmg items. */
48 ErrCode stnd_write_prof_prlsmg (stnd_prof_io_t* io,
49  const STND_PRLSMG_Struct* prlsmg,
50  int qmg);
51 
52 /* Write prof mgt items. */
53 ErrCode stnd_write_prof_mgt (stnd_prof_io_t* io,
54  const STND_MGT_Struct* mgt,
55  int qmgt);
56 
57 /* Write prof htr items. */
58 ErrCode stnd_write_prof_htr (stnd_prof_io_t* io,
59  const STND_HTR_Struct* htr,
60  int qtr);
61 
62 
63 #ifdef __cplusplus
64 };
65 #endif /* __cplusplus */
66 
67 #endif /* stnd_prof_io.h */
Definition: stnd_file.h:289
Definition: stnd_file.h:301
Definition: stnd_file.h:260
Definition: stnd_prof_io.h:14
Definition: stnd_file.h:251
Definition: stnd_file.h:280