]> www.wagner.pp.ru Git - oss/fgis.git/blob - include/epp_err.h
First checked in version
[oss/fgis.git] / include / epp_err.h
1 #ifndef EPP_ERR_H
2 #define EPP_ERR_H
3 extern int map_error; /* after each operation contains error code */
4 # define ME_POINT_OUTSIDE 1 
5 /* given coorndates are outside given epp file */
6 # define ME_INVALID_MODE 2
7 /* operation is non allowed for this mode */
8 # define ME_READ_ERROR 3
9 /* something wrong with reading file */
10 # define ME_WRITE_ERROR 4
11 /* disk full or something wrong writing file */
12 # define ME_INVALID_PUT 5
13 /* epp_put above current line */
14 # define ME_OUT_OF_MEMORY 6
15 # define ME_ACCESS_DENIED 7
16 # define ME_NO_FILE 8
17 # define ME_INVALID_FILE 9
18 # define ME_CREATE_ERROR 10           
19 /* Return values for dgt item modification function */
20 # define DGT_SUCCESS 0
21 # define DGT_LINE_TOO_LONG 1
22 # define DGT_ZERO_SEGMENT 2
23 # define DGT_INVALID_NODE 3
24 # define DGT_LINE_TOO_SHORT 4
25 # define DGT_BAD_SPLIT_POINT 5
26 #endif