UNIVERS
15.3
UNIVERS base processing software API
Main Page
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
include
mix
diskman.h
1
/* diskman.h */
2
/* $Id: diskman.h,v 1.3 2004/08/24 08:05:02 vlad Exp $ */
3
#ifndef __diskman_h
4
#define __diskman_h
5
6
#include <mix/ErrCodes.h>
7
#include <mix/portability.h>
8
#include <mix/misc.h>
9
10
11
/***********************************************************************
12
*
13
* Disk managemnet utilities.
14
*
15
***********************************************************************/
16
18
typedef
struct
19
{
20
char
*
path_request
;
23
char
*
device
;
24
char
*fs_root;
26
long
total_space
;
27
long
free_space
;
30
}
weDiskSpaceInfo
;
31
32
33
#ifdef __cplusplus
34
extern
"C"
35
{
36
#endif
/* __cplusplus */
37
41
UNIVERS_API ErrCode CALLSPEC weGetDiskSpaceInfo (
int
list_n,
42
weDiskSpaceInfo
* list);
43
48
UNIVERS_API ErrCode CALLSPEC weGetFileSize (
const
char
* szFilePath,
49
long
* pSize);
50
51
52
#ifdef __cplusplus
53
};
54
#endif
/* __cplusplus */
55
56
#endif
/* diskman.h */
weDiskSpaceInfo::path_request
char * path_request
Definition:
diskman.h:20
weDiskSpaceInfo
Definition:
diskman.h:18
weDiskSpaceInfo::device
char * device
Definition:
diskman.h:23
weDiskSpaceInfo::free_space
long free_space
Definition:
diskman.h:27
weDiskSpaceInfo::total_space
long total_space
Definition:
diskman.h:26
Generated by
1.8.5