xref: /titanic_44/usr/src/lib/libeti/form/common/llib-lform (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License").  You may not use this file except in compliance
7 * with the License.
8 *
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
13 *
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
19 *
20 * CDDL HEADER END
21 */
22/*	Copyright (c) 1988 AT&T	*/
23/*	  All Rights Reserved  	*/
24
25
26/*
27 * Copyright (c) 1997 by Sun Microsystems, Inc.
28 * All rights reserved.
29 */
30
31#pragma ident	"%Z%%M%	%I%	%E% SMI"	/* SVr4.0 1.6	*/
32
33/*LINTLIBRARY*/
34
35#include "form.h"
36
37/*
38 *  FIELDTYPE routines
39 */
40
41FIELDTYPE *
42new_fieldtype(fcheck, ccheck)
43PTF_int fcheck;
44PTF_int ccheck;
45{ return ((FIELDTYPE *)0); }
46
47FIELDTYPE *
48link_fieldtype(left, right)
49FIELDTYPE *left;
50FIELDTYPE *right;
51{ return ((FIELDTYPE *)0); }
52
53int
54free_fieldtype(t)
55FIELDTYPE *	t;
56{ return (E_SYSTEM_ERROR); }
57
58int
59set_fieldtype_arg(t, makearg, copyarg, freearg)
60FIELDTYPE *t;
61PTF_charP makearg;
62PTF_charP copyarg;
63PTF_void freearg;
64{ return (E_SYSTEM_ERROR); }
65
66int
67set_fieldtype_choice(t, next, prev)
68FIELDTYPE *t;
69PTF_int next;
70PTF_int prev;
71{ return (E_SYSTEM_ERROR); }
72
73/*
74 *  FIELD routines
75 */
76
77FIELD *
78new_field(rows, cols, frow, fcol, nrow, nbuf)
79int rows;
80int cols;
81int frow;
82int fcol;
83int nrow;
84int nbuf;
85{ return ((FIELD *)0); }
86
87FIELD *
88dup_field(field, frow, fcol)
89FIELD *field;
90int frow;
91int fcol;
92{ return ((FIELD *)0); }
93
94FIELD *
95link_field(field, frow, fcol)
96FIELD *field;
97int frow;
98int fcol;
99{ return ((FIELD *)0); }
100
101int
102free_field(f)
103FIELD *	 f;
104{ return (E_SYSTEM_ERROR); }
105
106int
107field_info(f, rows, cols, frow, fcol, nrow, nbuf)
108FIELD *f;
109int *rows;
110int *cols;
111int *frow;
112int *fcol;
113int *nrow;
114int *nbuf;
115{ return (E_SYSTEM_ERROR); }
116
117int
118dynamic_field_info(f, drows, dcols, max)
119FIELD *f;
120int   *drows;
121int   *dcols;
122int   *max;
123{ return (E_SYSTEM_ERROR); }
124
125int
126set_max_field(f, max)
127FIELD *f;
128int   max;
129{ return (E_SYSTEM_ERROR); }
130
131int
132move_field(f, frow, fcol)
133FIELD *f;
134int frow;
135int fcol;
136{ return (E_SYSTEM_ERROR); }
137
138#ifdef __STDC__
139int
140set_field_type(FIELD *f, FIELDTYPE *ft, ...)
141#else
142/*VARARGS*/
143int
144set_field_type(va_alist)
145va_dcl
146#endif
147{ return (E_SYSTEM_ERROR); }
148
149FIELDTYPE *
150field_type(f)
151FIELD *f;
152{ return ((FIELDTYPE *)0); }
153
154char *
155field_arg(f)
156FIELD *f;
157{ return ((char *)0); }
158
159int
160set_new_page(f, flag)
161FIELD *f;
162int flag;
163{ return (E_SYSTEM_ERROR); }
164
165int
166new_page(f)
167FIELD *f;
168{ return (FALSE); }
169
170int
171set_field_just(f, just)
172FIELD *f;
173int just;
174{ return (E_SYSTEM_ERROR); }
175
176int
177field_just(f)
178FIELD *f;
179{ return (NO_JUSTIFICATION); }
180
181int
182set_field_fore(f, fore)
183FIELD *f;
184chtype fore;
185{ return (E_SYSTEM_ERROR); }
186
187chtype
188field_fore(f)
189FIELD *f;
190{ return (A_NORMAL); }
191
192int
193set_field_back(f, back)
194FIELD *f;
195chtype back;
196{ return (E_SYSTEM_ERROR); }
197
198chtype
199field_back(f)
200FIELD *f;
201{ return (A_NORMAL); }
202
203int
204set_field_pad(f, pad)
205FIELD *f;
206int pad;
207{ return (E_SYSTEM_ERROR); }
208
209int
210field_pad(f)
211FIELD *f;
212{ return (' '); }
213
214int
215set_field_buffer(f, n, v)
216FIELD *f;
217int n;
218char *v;
219{ return (E_SYSTEM_ERROR); }
220
221char *
222field_buffer(f, n)
223FIELD *f;
224int n;
225{ return ((char *)0); }
226
227int
228set_field_status(f, status)
229FIELD *f;
230int status;
231{ return (E_SYSTEM_ERROR); }
232
233int
234field_status(f)
235FIELD *f;
236{ return (FALSE); }
237
238int
239set_field_userptr(f, userptr)
240FIELD *f;
241char *userptr;
242{ return (E_SYSTEM_ERROR); }
243
244char *
245field_userptr(f)
246FIELD *f;
247{ return ((char *)0); }
248
249int
250set_field_opts(f, opts)
251FIELD *f;
252OPTIONS opts;
253{ return (E_SYSTEM_ERROR); }
254
255OPTIONS
256field_opts(f)
257FIELD *f;
258{ return ((OPTIONS)0); }
259
260int
261field_opts_on(f, opts)
262FIELD *f;
263OPTIONS opts;
264{ return (E_SYSTEM_ERROR); }
265
266int
267field_opts_off(f, opts)
268FIELD *f;
269OPTIONS opts;
270{ return (E_SYSTEM_ERROR); }
271
272/*
273 *  FORM routines
274 */
275
276FORM *
277new_form(field)
278FIELD **field;
279{ return ((FORM *)0); }
280
281int
282free_form(f)
283FORM *f;
284{ return (E_SYSTEM_ERROR); }
285
286int
287set_form_fields(f, fields)
288FORM *f;
289FIELD **fields;
290{ return (E_SYSTEM_ERROR); }
291
292FIELD **
293form_fields(f)
294FORM *f;
295{ return ((FIELD **)0); }
296
297int
298field_count(f)
299FORM *f;
300{ return (-1); }
301
302int
303set_form_win(f, window)
304FORM *f;
305WINDOW *window;
306{ return (E_SYSTEM_ERROR); }
307
308WINDOW *
309form_win(f)
310FORM *f;
311{ return ((WINDOW *)0); }
312
313int
314set_form_sub(f, window)
315FORM *f;
316WINDOW *window;
317{ return (E_SYSTEM_ERROR); }
318
319WINDOW *
320form_sub(f)
321FORM *f;
322{ return ((WINDOW *)0); }
323
324int
325set_current_field(f, c)
326FORM *f;
327FIELD *c;
328{ return (E_SYSTEM_ERROR); }
329
330FIELD *
331current_field(f)
332FORM *f;
333{ return ((FIELD *)0); }
334
335int
336field_index(f)
337FIELD *f;
338{ return (-1); }
339
340int
341set_form_page(f, page)
342FORM *f;
343int page;
344{ return (E_SYSTEM_ERROR); }
345
346int
347form_page(f)
348FORM *f;
349{ return (-1); }
350
351int
352scale_form(f, rows, cols)
353FORM *f;
354int *rows;
355int *cols;
356{ return (E_SYSTEM_ERROR); }
357
358int
359set_form_init(f, func)
360FORM *f;
361PTF_void func;
362{ return (E_SYSTEM_ERROR); }
363
364PTF_void
365form_init(f)
366FORM *f;
367{ return ((PTF_void)0); }
368
369int
370set_form_term(f, func)
371FORM *f;
372PTF_void func;
373{ return (E_SYSTEM_ERROR); }
374
375PTF_void
376form_term(f)
377FORM *f;
378{ return ((PTF_void)0); }
379
380int
381set_field_init(f, func)
382FORM *f;
383PTF_void func;
384{ return (E_SYSTEM_ERROR); }
385
386PTF_void
387field_init(f)
388FORM *f;
389{ return ((PTF_void)0); }
390
391int
392set_field_term(f, func)
393FORM *f;
394PTF_void func;
395{ return (E_SYSTEM_ERROR); }
396
397PTF_void
398field_term(f)
399FORM *f;
400{ return ((PTF_void)0); }
401
402int
403post_form(f)
404FORM *f;
405{ return (E_SYSTEM_ERROR); }
406
407int
408unpost_form(f)
409FORM *f;
410{ return (E_SYSTEM_ERROR); }
411
412int
413pos_form_cursor(f)
414FORM *f;
415{ return (E_SYSTEM_ERROR); }
416
417int
418form_driver(f, c)
419FORM *f;
420int c;
421{ return (E_SYSTEM_ERROR); }
422
423int
424set_form_userptr(f, userptr)
425FORM *f;
426char *userptr;
427{ return (E_SYSTEM_ERROR); }
428
429char *
430form_userptr(f)
431FORM *f;
432{ return ((char *)0); }
433
434int
435set_form_opts(f, opts)
436FORM *f;
437OPTIONS opts;
438{ return (E_SYSTEM_ERROR); }
439
440OPTIONS
441form_opts(f)
442FORM *f;
443{ return ((OPTIONS)0); }
444
445int
446form_opts_on(f, opts)
447FORM *f;
448OPTIONS opts;
449{ return (E_SYSTEM_ERROR); }
450
451int
452form_opts_off(f, opts)
453FORM *f;
454OPTIONS opts;
455{ return (E_SYSTEM_ERROR); }
456
457int
458data_ahead(f)
459FORM *f;
460{ return (FALSE); }
461
462int
463data_behind(f)
464FORM *f;
465{ return (FALSE); }
466