1 /* $NetBSD: vi_mextern.h,v 1.2 2013/11/22 15:52:06 christos Exp $ */ 2 /*- 3 * Copyright (c) 1996 4 * Rob Zimmermann. All rights reserved. 5 * Copyright (c) 1996 6 * Keith Bostic. All rights reserved. 7 * 8 * See the LICENSE file for redistribution information. 9 * 10 * "Id: vi_mextern.h,v 8.6 2000/07/05 11:33:19 skimo Exp (Berkeley) Date: 2000/07/05 11:33:19 "; 11 */ 12 13 /* 14 * Globals, the list of names exposed to the outside world by the vi Motif 15 * widget library. 16 * 17 * Applications using the Motif vi widget code will have to initialize these 18 * or the library code will fail. 19 */ 20 extern char *vi_progname; /* Program name. */ 21 extern int vi_ofd; /* Output file descriptor. */ 22 extern IPVIWIN *ipvi_motif; 23 extern IPSIOPS ipsi_ops_motif; 24 25 26 /* 27 * RAZ -- anyway we can get the library to do this setup? 28 */ 29 #if 0 30 #ifdef __STDC__ 31 Widget vi_create_editor(String, Widget, void (*)(void)); 32 Widget vi_create_menubar(Widget); 33 void vi_input_func(XtPointer, int *, XtInputId *); 34 int vi_run(int, char *[], int *, int *, pid_t *); 35 int vi_send(char *, IP_BUF *); 36 int vi_translate(char *, size_t *, IP_BUF *); 37 #else 38 Widget vi_create_editor(); 39 Widget vi_create_menubar(); 40 void vi_input_func(); 41 void vi_run(); 42 int vi_send(); 43 int vi_translate(); 44 #endif 45 #endif 46