minix/external/bsd/nvi/dist/motif_l/vi_mextern.h
Lionel Sambuc 84d9c625bf Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC)
- Fix for possible unset uid/gid in toproto
 - Fix for default mtree style
 - Update libelf
 - Importing libexecinfo
 - Resynchronize GCC, mpc, gmp, mpfr
 - build.sh: Replace params with show-params.
     This has been done as the make target has been renamed in the same
     way, while a new target named params has been added. This new
     target generates a file containing all the parameters, instead of
     printing it on the console.
 - Update test48 with new etc/services (Fix by Ben Gras <ben@minix3.org)
     get getservbyport() out of the inner loop

Change-Id: Ie6ad5226fa2621ff9f0dee8782ea48f9443d2091
2014-07-28 17:05:06 +02:00

45 lines
1.2 KiB
C

/* $NetBSD: vi_mextern.h,v 1.2 2013/11/22 15:52:06 christos Exp $ */
/*-
* Copyright (c) 1996
* Rob Zimmermann. All rights reserved.
* Copyright (c) 1996
* Keith Bostic. All rights reserved.
*
* See the LICENSE file for redistribution information.
*
* "Id: vi_mextern.h,v 8.6 2000/07/05 11:33:19 skimo Exp (Berkeley) Date: 2000/07/05 11:33:19 ";
*/
/*
* Globals, the list of names exposed to the outside world by the vi Motif
* widget library.
*
* Applications using the Motif vi widget code will have to initialize these
* or the library code will fail.
*/
extern char *vi_progname; /* Program name. */
extern int vi_ofd; /* Output file descriptor. */
extern IPVIWIN *ipvi_motif;
extern IPSIOPS ipsi_ops_motif;
/*
* RAZ -- anyway we can get the library to do this setup?
*/
#if 0
#ifdef __STDC__
Widget vi_create_editor(String, Widget, void (*)(void));
Widget vi_create_menubar(Widget);
void vi_input_func(XtPointer, int *, XtInputId *);
int vi_run(int, char *[], int *, int *, pid_t *);
int vi_send(char *, IP_BUF *);
int vi_translate(char *, size_t *, IP_BUF *);
#else
Widget vi_create_editor();
Widget vi_create_menubar();
void vi_input_func();
void vi_run();
int vi_send();
int vi_translate();
#endif
#endif