gCAD3D 2.40
ut_txfil.h
Go to the documentation of this file.
1 // ut_txfil.h RF
2 
3  int UTF_clear_ ();
4  long UTF_offset_ (char* cpos);
5  int UTF_add_file (char* fn);
6  int UTF_add_line (char* txt);
7  int UTF_add_nl ();
8  int UTF_txt_chg (char *cpos, char *txt, long txlen);
9  // int UTF_wri_file (char* fn, int mode);
10  int UTF_wri_file (char* fn, int iniFunc(FILE*));
11 
12  long UTF_GetLen0 ();
13  char* UTF_GetLinNr (char* lbuf, long *llen, long lNr);
14  char* UTF_GetPosLnr (long *llen, long lNr);
15  int UTF_GetLnrPos (long ipos);
16  char* UTF_GetnextLnPos (char *cpos);
17  char* UTF_GetPrevLnPos (long *lNr, char *cpos);
18 
19  char* UTF_find_tx1 (long *lNr, char *tx1);
20 
21  int UTF_clear1 ();
22  char* UTF_add1_file (char* fn);
23  int UTF_add1_line (char* txt);
24  char* UTF_get1_LnPos (long lNr);
25  long UTF_get1_LnLen (char **lEnd, char *lStart);
26  char* UTF_get1_nxtLnPos (char *actPos);
27  int UTF_insert1 (long cpos);
28 
29  int UTF_del_line1 (long lNr);
30  // int UTF_del_rest (char *text);
31 
32  long UTF_GetLinLen (char **lEnd, char *lStart);
33 
34 // test if model is empty
35 #define UTF_EMPTY UTF_GetLen0() < 24
36 
37 
38 /*==================== EOF =================*/
char * UTF_GetPosLnr(long *llen, long lNr)
Definition: ut_txfil.c:1056
long UTF_get1_LnLen(char **lEnd, char *lStart)
Definition: ut_txfil.c:528
int UTF_insert1(long cpos)
Definition: ut_txfil.c:1816
char * UTF_find_tx1(long *lNr, char *tx1)
Definition: ut_txfil.c:2044
int UTF_add_line(char *txt)
Definition: ut_txfil.c:1309
int UTF_del_line1(long lNr)
Definition: ut_txfil.c:1926
Point actPos
Definition: prc_cut1__.c:127
int UTF_add_file(char *fn)
Definition: ut_txfil.c:1464
int UTF_clear_()
Definition: ut_txfil.c:1355
char * UTF_get1_LnPos(long lNr)
Definition: ut_txfil.c:254
int UTF_add_nl()
Definition: ut_txfil.c:1293
char * UTF_add1_file(char *fn)
Definition: ut_txfil.c:1514
char * UTF_get1_nxtLnPos(char *actPos)
Definition: ut_txfil.c:288
long UTF_GetLinLen(char **lEnd, char *lStart)
Definition: ut_txfil.c:567
char * UTF_GetPrevLnPos(long *lNr, char *cpos)
Definition: ut_txfil.c:1988
int UTF_txt_chg(char *cpos, char *txt, long txlen)
Definition: ut_txfil.c:954
char * UTF_GetnextLnPos(char *cpos)
Definition: ut_txfil.c:1956
long UTF_GetLen0()
Definition: ut_txfil.c:1042
char * UTF_GetLinNr(char *lbuf, long *llen, long lNr)
Definition: ut_txfil.c:1228
int UTF_clear1()
Definition: ut_txfil.c:1372
long lNr
Definition: xa_tra.c:150
int UTF_add1_line(char *txt)
Definition: ut_txfil.c:1643
int UTF_GetLnrPos(long ipos)
Definition: ut_txfil.c:967
long UTF_offset_(char *cpos)
Definition: ut_txfil.c:1546
int UTF_wri_file(char *fnam, int iniFunc(FILE *))
Definition: ut_txfil.c:829