Xft support under OpenMotif 2.3.3 - I've been using this for quite a while on
[nedit.git] / util / vmsUtils.h
blob7cf14708a7d5f28d3adbb2339beaaaa8a3331786
1 /* $Id: vmsUtils.h,v 1.7 2004/11/09 21:58:45 yooden Exp $ */
2 /*******************************************************************************
3 * *
4 * vmsUtils.h -- Nirvana Editor VMS Utilities Header File *
5 * *
6 * Copyright 2004 The NEdit Developers *
7 * *
8 * This is free software; you can redistribute it and/or modify it under the *
9 * terms of the GNU General Public License as published by the Free Software *
10 * Foundation; either version 2 of the License, or (at your option) any later *
11 * version. In addition, you may distribute versions of this program linked to *
12 * Motif or Open Motif. See README for details. *
13 * *
14 * This software is distributed in the hope that it will be useful, but WITHOUT *
15 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or *
16 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for *
17 * more details. *
18 * *
19 * You should have received a copy of the GNU General Public License along with *
20 * software; if not, write to the Free Software Foundation, Inc., 59 Temple *
21 * Place, Suite 330, Boston, MA 02111-1307 USA *
22 * *
23 * Nirvana Text Editor *
24 * July 31, 2001 *
25 * *
26 *******************************************************************************/
28 #ifndef NEDIT_VMSUTILS_H_INCLUDED
29 #define NEDIT_VMSUTILS_H_INCLUDED
31 #ifdef VMS
32 #ifndef __DESCRIP_LOADED
33 #include descrip
34 #endif /*__DESCRIP_LOADED*/
36 #define INCLUDE_FNF 0
37 #define EXCLUDE_FNF 1
38 #define NOT_ERR_FNF 2
40 char *StrDescToNul(struct dsc$descriptor_s *vmsString);
41 struct dsc$descriptor_s *NulStrToDesc(char *nulTString);
42 struct dsc$descriptor_s *NulStrWrtDesc(char *nulTString, int strLen);
43 void FreeNulStr(char *nulTString);
44 void FreeStrDesc(struct dsc$descriptor_s *vmsString);
45 double rint(double dnum);
46 void ConvertVMSCommandLine(int *argc, char **argv[]);
47 int VMSFileScan(char *dirname, char *(*namelist[]), int (*select)(), int fnf);
48 void VMSFileScanDone(void);
49 int ProcAlive(const unsigned int pID);
51 #endif /*VMS*/
53 #endif /* NEDIT_VMSUTILS_H_INCLUDED */