Ok - so one of the steps in building CDE is an early phase called the includes phase (make includes). At this point, all of the public header files are exported to exports/include/Dt, DtI, ... Then, the software is built using that include dir. This of course does not work in autotools. Much of the software does things like #include <Dt/something.h>, so in order for the build to succeed, this behavior must be represented/replicated in some way. It seems the usual way of dealing with this is to place all public headers (and in some projects, ALL headers) into a toplevel include directory. We now do this for all public headers - they have been moved from wherever they were and placed in the appropriate spot in includes/ This will break the Imake 'make includes' phase unless the Imakefiles are fixed (remove the HEADERS = stuff, and the incdir defines). This has not been done at this point since in reality, once autotools works properly, there will be no need for the Imake stuff anymore, and I intend to get rid of it. This is just a warning for now - Imake builds in this tree will now fail at the 'includes' stage. This commit is only the migration. In upcoming commits, libtt will be fixed so that the hack being used before to get around this problem is removed as there will no longer be any need. And then the autotools work continues...
210 lines
9.2 KiB
C
210 lines
9.2 KiB
C
/*
|
|
* CDE - Common Desktop Environment
|
|
*
|
|
* Copyright (c) 1993-2012, The Open Group. All rights reserved.
|
|
*
|
|
* These libraries and programs are free software; you can
|
|
* redistribute them and/or modify them under the terms of the GNU
|
|
* Lesser General Public License as published by the Free Software
|
|
* Foundation; either version 2 of the License, or (at your option)
|
|
* any later version.
|
|
*
|
|
* These libraries and programs are distributed in the hope that
|
|
* they will be useful, but WITHOUT ANY WARRANTY; without even the
|
|
* implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
* PURPOSE. See the GNU Lesser General Public License for more
|
|
* details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with these libraries and programs; if not, write
|
|
* to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
|
|
* Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
/* $XConsortium: dproto.h /main/2 1996/05/09 03:55:20 drk $ */
|
|
/*----------------------------------------------------------------------------
|
|
dproto.h: db_VISTA (user) function declaration header file
|
|
|
|
(C) Copyright 1988 by Raima Corporation.
|
|
----------------------------------------------------------------------------*/
|
|
|
|
/* ********************** EDIT HISTORY *******************************
|
|
|
|
SCR DATE INI DESCRIPTION
|
|
----- --------- --- -----------------------------------------------------
|
|
571 31-Jan-89 RSC Placed ctbpath inside NO_COUNTRY, not NO_TIMESTAMP
|
|
*/
|
|
|
|
|
|
int d_setfiles(P1(int)); /* dio.c */
|
|
int d_setpages(P1(int) Pi(int)); /* dio.c */
|
|
int d_trbound(P0); /* trlog.c */
|
|
int d_trlog(P1(int) Pi(int) Pi(CONST char FAR *) Pi(int));
|
|
/* trlog.c */
|
|
int d_trmark(P0); /* trlog.c */
|
|
int d_tron(P0); /* trlog.c */
|
|
int d_troff(P0); /* trlog.c */
|
|
int d_decode_dba(P1(DB_ADDR) Pi(int FAR *) Pi(long FAR *));
|
|
/* dbacode.c */
|
|
int d_encode_dba(P1(int) Pi(long) Pi(DB_ADDR FAR *));
|
|
/* dbacode.c */
|
|
|
|
#define d_memlock(p) /**/
|
|
#define d_memlock_group(lg) S_OKAY
|
|
#define d_memunlock(p) /**/
|
|
#define d_memunlock_group(lg) /**/
|
|
char FAR * d_alloc(P1(unsigned)); /* alloc.c */
|
|
char FAR * d_calloc(P1(unsigned) Pi(unsigned)); /* alloc.c */
|
|
void d_free(P1(CHAR_P FAR *)); /* alloc.c */
|
|
|
|
#ifndef MULTI_TASK /* MULTI_TASK */
|
|
#define dt_opentask(a) S_OKAY
|
|
#define dt_closetask(a) S_OKAY
|
|
|
|
int d_close(P0); /* dblfcns.c */
|
|
int d_cmstat(P1(int) DBN_Dn); /* cmstat.c */
|
|
int d_cmtype(P1(int) Pi(int FAR *) DBN_Dn); /* cmtype.c */
|
|
int d_connect(P1(int) DBN_Dn); /* connect.c */
|
|
#ifndef NO_TIMESTAMP /* NO_TIMESTAMP */
|
|
int d_costat(P1(int) DBN_Dn); /* costat.c */
|
|
#endif /* NO_TIMESTAMP */
|
|
int d_cotype(P1(int) Pi(int FAR *) DBN_Dn); /* cotype.c */
|
|
int d_crget(P1(DB_ADDR FAR *) DBN_Dn); /* crget.c */
|
|
int d_crread(P1(long) Pi(char FAR *) DBN_Dn); /* crread.c */
|
|
int d_crset(P1(DB_ADDR FAR *) DBN_Dn); /* crset.c */
|
|
#ifndef NO_TIMESTAMP /* NO_TIMESTAMP */
|
|
int d_crstat(P0); /* crstat.c */
|
|
#endif /* NO_TIMESTAMP */
|
|
int d_crtype(P1(int FAR *) DBN_Dn); /* crtype.c */
|
|
int d_crwrite(P1(long) Pi(char FAR *) DBN_Dn); /* crwrite.c */
|
|
int d_csmget(P1(int) Pi(DB_ADDR FAR *) DBN_Dn); /* csmget.c */
|
|
int d_csmread(P1(int) Pi(long) Pi(char FAR *) DBN_Dn);
|
|
/* csmread.c */
|
|
int d_csmset(P1(int) Pi(DB_ADDR FAR *) DBN_Dn); /* csmset.c */
|
|
int d_csmwrite(P1(int) Pi(long) Pi(CONST char FAR *) DBN_Dn);
|
|
/* csmwrite.c */
|
|
int d_csoget(P1(int) Pi(DB_ADDR FAR *) DBN_Dn); /* csoget.c */
|
|
int d_csoread(P1(int) Pi(long) Pi(char FAR *) DBN_Dn);
|
|
/* csoread.c */
|
|
int d_csoset(P1(int) Pi(DB_ADDR FAR *) DBN_Dn); /* csoset.c */
|
|
int d_csowrite(P1(int) Pi(long) Pi(CONST char FAR *) DBN_Dn);
|
|
/* csowrite.c */
|
|
#ifndef NO_TIMESTAMP /* NO_TIMESTAMP */
|
|
int d_csstat(P1(int) DBN_Dn); /* csstat.c */
|
|
int d_ctscm(P1(int) Pi(ULONG FAR *) DBN_Dn); /* ctscm.c */
|
|
int d_ctsco(P1(int) Pi(ULONG FAR *) DBN_Dn); /* ctsco.c */
|
|
int d_ctscr(P1(ULONG FAR *)); /* ctscr.c */
|
|
#endif /* NO_TIMESTAMP */
|
|
#ifndef NO_COUNTRY
|
|
int d_ctbpath(P1(CONST char FAR *)); /* pathfcns.c */
|
|
#endif /* NO_COUNTRY */
|
|
int d_dbdpath(P1(CONST char FAR *)); /* dbdpath.c */
|
|
int d_dbfpath(P1(CONST char FAR *)); /* dbfpath.c */
|
|
int d_dblog(P1(CONST char FAR *)); /* dblog.c */
|
|
int d_dbtaf(P1(CONST char FAR *)); /* dbtaf.c */
|
|
int d_dbuserid(P1(CONST char FAR *)); /* dbuserid.c */
|
|
int d_delete(DBN_D1); /* delete.c */
|
|
int d_disdel(DBN_D1); /* disdel.c */
|
|
int d_recnext(DBN_D1); /* recnext.c */
|
|
int d_recprev(DBN_D1); /* recprev.c */
|
|
int d_destroy(P1(CONST char FAR *)); /* destroy.c */
|
|
int d_discon(P1(int) DBN_Dn); /* discon.c */
|
|
int d_fillnew(P1(int) Pi(CONST char FAR *) DBN_Dn); /* fillnew.c */
|
|
int d_findco(P1(int) DBN_Dn); /* findco.c */
|
|
int d_findfm(P1(int) DBN_Dn); /* findfm.c */
|
|
int d_findlm(P1(int) DBN_Dn); /* findlm.c */
|
|
int d_findnm(P1(int) DBN_Dn); /* findnm.c */
|
|
int d_findpm(P1(int) DBN_Dn); /* findpm.c */
|
|
int d_freeall(P0); /* dblfcns.c */
|
|
#ifndef NO_TIMESTAMP /* NO_TIMESTAMP */
|
|
int d_gtscm(P1(int) Pi(ULONG FAR *) DBN_Dn); /* gtscm.c */
|
|
int d_gtsco(P1(int) Pi(ULONG FAR *) DBN_Dn); /* gtsco.c */
|
|
int d_gtscr(P1(ULONG FAR *)); /* gtscr.c */
|
|
int d_gtscs(P1(int) Pi(ULONG FAR *) DBN_Dn); /* gtscs.c */
|
|
#endif /* NO_TIMESTAMP */
|
|
int d_initialize(DBN_D1); /* initial.c */
|
|
int d_initfile(P1(FILE_NO) DBN_Dn); /* initial.c */
|
|
int d_ismember(P1(int) DBN_Dn); /* ismember.c */
|
|
int d_isowner(P1(int) DBN_Dn); /* isowner.c */
|
|
int d_keydel(P1(long) DBN_Dn); /* keydel.c */
|
|
int d_keyexist(P1(long) DBN_Dn); /* keyexist.c */
|
|
int d_keyfind(P1(long) Pi(CONST char FAR *) DBN_Dn);
|
|
/* keyfind.c */
|
|
int d_keyfree(P1(long) DBN_Dn); /* dblfcns.c */
|
|
int d_keyfrst(P1(long) DBN_Dn); /* keyfrst.c */
|
|
int d_keylast(P1(long) DBN_Dn); /* keylast.c */
|
|
int d_keylock(P1(long) Pi(char FAR *) DBN_Dn); /* dblfcns.c */
|
|
int d_keylstat(P1(long) Pi(char FAR *) DBN_Dn); /* dblfcns.c */
|
|
int d_keynext(P1(long) DBN_Dn); /* keynext.c */
|
|
int d_keyprev(P1(long) DBN_Dn); /* keyprev.c */
|
|
int d_keyread(P1(char FAR *)); /* keyfcns.c */
|
|
int d_keystore(P1(long) DBN_Dn); /* keystore.c */
|
|
int d_lock(P1(int) Pi(LOCK_REQUEST FAR *) DBN_Dn); /* dblfcns.c */
|
|
int d_makenew(P1(int) DBN_Dn); /* makenew.c */
|
|
int d_mapchar(P1(unsigned char) Pi(unsigned char)
|
|
Pi(CONST char FAR *) Pi(unsigned char)); /* mapchar.c */
|
|
int d_members(P1(int) Pi(LONG FAR *) DBN_Dn); /* members.c */
|
|
int d_off_opt(P1(int)); /* options.c */
|
|
int d_on_opt(P1(int)); /* options.c */
|
|
int d_open(P1(CONST char FAR *) Pi(CONST char FAR *));
|
|
/* dblfcns.c */
|
|
int d_rerdcurr(P1(DB_ADDR FAR **)); /* rwcurr.c */
|
|
int d_rdcurr(P1(DB_ADDR FAR **) Pi(int FAR *)); /* rwcurr.c */
|
|
int d_wrcurr(P1(DB_ADDR FAR *)); /* rwcurr.c */
|
|
int d_recfree(P1(int) DBN_Dn); /* dblfcns.c */
|
|
int d_recfrst(P1(int) DBN_Dn); /* recfrst.c */
|
|
int d_reclast(P1(int) DBN_Dn); /* reclast.c */
|
|
int d_reclock(P1(int) Pi(char FAR *) DBN_Dn); /* dblfcns.c */
|
|
int d_reclstat(P1(int) Pi(char FAR *) DBN_Dn); /* dblfcns.c */
|
|
int d_recover(P1(CONST char FAR *)); /* recover.c */
|
|
int d_recread(P1(char FAR *) DBN_Dn); /* recread.c */
|
|
int d_recset(P1(int) DBN_Dn); /* recset.c */
|
|
#ifndef NO_TIMESTAMP /* NO_TIMESTAMP */
|
|
int d_recstat(P1(DB_ADDR) Pi(ULONG)); /* recstat.c */
|
|
#endif /* NO_TIMESTAMP */
|
|
int d_recwrite(P1(CONST char FAR *) DBN_Dn); /* recwrite.c */
|
|
int d_renfile(P1(CONST char FAR *) Pi(FILE_NO)
|
|
Pi(CONST char FAR *)); /* renfile.c */
|
|
int d_retries(P1(int)); /* dblfcns.c */
|
|
int d_rlbclr(P0); /* dblfcns.c */
|
|
int d_rlbset(P0); /* dblfcns.c */
|
|
int d_rlbtst(P0); /* dblfcns.c */
|
|
int d_set_dberr(P1(FARPROC)); /* dberr.c */
|
|
#ifndef ONE_DB /* ONE_DB */
|
|
int d_setdb(P1(int)); /* setdb.c */
|
|
#endif /* ONE_DB */
|
|
int d_setfree(P1(int) DBN_Dn); /* dblfcns.c */
|
|
int d_setkey(P1(long) Pi(CONST char FAR *) DBN_Dn); /* makenew.c */
|
|
int d_setlock(P1(int) Pi(char FAR *) DBN_Dn); /* dblfcns.c */
|
|
int d_setlstat(P1(int) Pi(char FAR *) DBN_Dn); /* dblfcns.c */
|
|
int d_setmm(P1(int) Pi(int) DBN_Dn); /* setmm.c */
|
|
int d_setmo(P1(int) Pi(int) DBN_Dn); /* setmo.c */
|
|
int d_setmr(P1(int) DBN_Dn); /* setmr.c */
|
|
int d_setom(P1(int) Pi(int) DBN_Dn); /* setom.c */
|
|
int d_setoo(P1(int) Pi(int) DBN_Dn); /* setoo.c */
|
|
int d_setor(P1(int) DBN_Dn); /* setor.c */
|
|
int d_setrm(P1(int) DBN_Dn); /* setrm.c */
|
|
int d_setro(P1(int) DBN_Dn); /* setro.c */
|
|
#ifndef NO_TIMESTAMP /* NO_TIMESTAMP */
|
|
int d_stscm(P1(int) Pi(ULONG) DBN_Dn); /* stscm.c */
|
|
int d_stsco(P1(int) Pi(ULONG) DBN_Dn); /* stsco.c */
|
|
int d_stscr(P1(ULONG)); /* stscr.c */
|
|
int d_stscs(P1(int) Pi(ULONG) DBN_Dn); /* stscs.c */
|
|
#endif /* NO_TIMESTAMP */
|
|
int d_timeout(P1(int)); /* dblfcns.c */
|
|
int d_trabort(P0); /* dblfcns.c */
|
|
int d_trbegin(P1(CONST char FAR *)); /* dblfcns.c */
|
|
int d_trend(P0); /* dblfcns.c */
|
|
#ifndef NO_TIMESTAMP /* NO_TIMESTAMP */
|
|
int d_utscm(P1(int) Pi(ULONG FAR *) DBN_Dn); /* utscm.c */
|
|
int d_utsco(P1(int) Pi(ULONG FAR *) DBN_Dn); /* utsco.c */
|
|
int d_utscr(P1(ULONG FAR *)); /* utscr.c */
|
|
int d_utscs(P1(int) Pi(ULONG FAR *) DBN_Dn); /* utscs.c */
|
|
#endif /* NO_TIMESTAMP */
|
|
|
|
#endif /* MULTI_TASK */
|
|
|
|
int dberr(P1(int)); /* dberr.c */
|
|
|
|
#define D_FUNCTIONS_H
|
|
/* vpp -nOS2 -dUNIX -nBSD -nVANILLA_BSD -nVMS -nMEMLOCK -nWINDOWS -nFAR_ALLOC -f/usr/users/master/config/nonwin dproto.h */
|