2N/A/*
2N/A * CDDL HEADER START
2N/A *
2N/A * The contents of this file are subject to the terms of the
2N/A * Common Development and Distribution License (the "License").
2N/A * You may not use this file except in compliance with the License.
2N/A *
2N/A * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A * or http://www.opensolaris.org/os/licensing.
2N/A * See the License for the specific language governing permissions
2N/A * and limitations under the License.
2N/A *
2N/A * When distributing Covered Code, include this CDDL HEADER in each
2N/A * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A * If applicable, add the following below this CDDL HEADER, with the
2N/A * fields enclosed by brackets "[]" replaced with your own identifying
2N/A * information: Portions Copyright [yyyy] [name of copyright owner]
2N/A *
2N/A * CDDL HEADER END
2N/A */
2N/A
2N/A/*
2N/A * Copyright (c) 1990, 2011, Oracle and/or its affiliates. All rights reserved.
2N/A */
2N/A
2N/A/* Copyright (c) 1988 AT&T */
2N/A/* All Rights Reserved */
2N/A
2N/A/* LINTLIBRARY */
2N/A/* PROTOLIB1 */
2N/A
2N/A#include "form.h"
2N/A
2N/A/*
2N/A * FIELDTYPE routines
2N/A */
2N/A
2N/AFIELDTYPE *
2N/Anew_fieldtype(fcheck, ccheck)
2N/APTF_int fcheck;
2N/APTF_int ccheck;
2N/A{ return ((FIELDTYPE *)0); }
2N/A
2N/AFIELDTYPE *
2N/Alink_fieldtype(left, right)
2N/AFIELDTYPE *left;
2N/AFIELDTYPE *right;
2N/A{ return ((FIELDTYPE *)0); }
2N/A
2N/Aint
2N/Afree_fieldtype(t)
2N/AFIELDTYPE * t;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Aset_fieldtype_arg(t, makearg, copyarg, freearg)
2N/AFIELDTYPE *t;
2N/APTF_charP makearg;
2N/APTF_charP copyarg;
2N/APTF_void freearg;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Aset_fieldtype_choice(t, next, prev)
2N/AFIELDTYPE *t;
2N/APTF_int next;
2N/APTF_int prev;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/A/*
2N/A * FIELD routines
2N/A */
2N/A
2N/AFIELD *
2N/Anew_field(rows, cols, frow, fcol, nrow, nbuf)
2N/Aint rows;
2N/Aint cols;
2N/Aint frow;
2N/Aint fcol;
2N/Aint nrow;
2N/Aint nbuf;
2N/A{ return ((FIELD *)0); }
2N/A
2N/AFIELD *
2N/Adup_field(field, frow, fcol)
2N/AFIELD *field;
2N/Aint frow;
2N/Aint fcol;
2N/A{ return ((FIELD *)0); }
2N/A
2N/AFIELD *
2N/Alink_field(field, frow, fcol)
2N/AFIELD *field;
2N/Aint frow;
2N/Aint fcol;
2N/A{ return ((FIELD *)0); }
2N/A
2N/Aint
2N/Afree_field(f)
2N/AFIELD * f;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Afield_info(f, rows, cols, frow, fcol, nrow, nbuf)
2N/AFIELD *f;
2N/Aint *rows;
2N/Aint *cols;
2N/Aint *frow;
2N/Aint *fcol;
2N/Aint *nrow;
2N/Aint *nbuf;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Adynamic_field_info(f, drows, dcols, max)
2N/AFIELD *f;
2N/Aint *drows;
2N/Aint *dcols;
2N/Aint *max;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Aset_max_field(f, max)
2N/AFIELD *f;
2N/Aint max;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Amove_field(f, frow, fcol)
2N/AFIELD *f;
2N/Aint frow;
2N/Aint fcol;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/A#ifdef __STDC__
2N/Aint
2N/Aset_field_type(FIELD *f, FIELDTYPE *ft, ...)
2N/A#else
2N/A/*VARARGS*/
2N/Aint
2N/Aset_field_type(va_alist)
2N/Ava_dcl
2N/A#endif
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/AFIELDTYPE *
2N/Afield_type(f)
2N/AFIELD *f;
2N/A{ return ((FIELDTYPE *)0); }
2N/A
2N/Achar *
2N/Afield_arg(f)
2N/AFIELD *f;
2N/A{ return ((char *)0); }
2N/A
2N/Aint
2N/Aset_new_page(f, flag)
2N/AFIELD *f;
2N/Aint flag;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Anew_page(f)
2N/AFIELD *f;
2N/A{ return (FALSE); }
2N/A
2N/Aint
2N/Aset_field_just(f, just)
2N/AFIELD *f;
2N/Aint just;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Afield_just(f)
2N/AFIELD *f;
2N/A{ return (NO_JUSTIFICATION); }
2N/A
2N/Aint
2N/Aset_field_fore(f, fore)
2N/AFIELD *f;
2N/Achtype fore;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Achtype
2N/Afield_fore(f)
2N/AFIELD *f;
2N/A{ return (A_NORMAL); }
2N/A
2N/Aint
2N/Aset_field_back(f, back)
2N/AFIELD *f;
2N/Achtype back;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Achtype
2N/Afield_back(f)
2N/AFIELD *f;
2N/A{ return (A_NORMAL); }
2N/A
2N/Aint
2N/Aset_field_pad(f, pad)
2N/AFIELD *f;
2N/Aint pad;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Afield_pad(f)
2N/AFIELD *f;
2N/A{ return (' '); }
2N/A
2N/Aint
2N/Aset_field_buffer(f, n, v)
2N/AFIELD *f;
2N/Aint n;
2N/Achar *v;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Achar *
2N/Afield_buffer(f, n)
2N/AFIELD *f;
2N/Aint n;
2N/A{ return ((char *)0); }
2N/A
2N/Aint
2N/Aset_field_status(f, status)
2N/AFIELD *f;
2N/Aint status;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Afield_status(f)
2N/AFIELD *f;
2N/A{ return (FALSE); }
2N/A
2N/Aint
2N/Aset_field_userptr(f, userptr)
2N/AFIELD *f;
2N/Achar *userptr;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Achar *
2N/Afield_userptr(f)
2N/AFIELD *f;
2N/A{ return ((char *)0); }
2N/A
2N/Aint
2N/Aset_field_opts(f, opts)
2N/AFIELD *f;
2N/AOPTIONS opts;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/AOPTIONS
2N/Afield_opts(f)
2N/AFIELD *f;
2N/A{ return ((OPTIONS)0); }
2N/A
2N/Aint
2N/Afield_opts_on(f, opts)
2N/AFIELD *f;
2N/AOPTIONS opts;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Afield_opts_off(f, opts)
2N/AFIELD *f;
2N/AOPTIONS opts;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/A/*
2N/A * FORM routines
2N/A */
2N/A
2N/AFORM *
2N/Anew_form(field)
2N/AFIELD **field;
2N/A{ return ((FORM *)0); }
2N/A
2N/Aint
2N/Afree_form(f)
2N/AFORM *f;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Aset_form_fields(f, fields)
2N/AFORM *f;
2N/AFIELD **fields;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/AFIELD **
2N/Aform_fields(f)
2N/AFORM *f;
2N/A{ return ((FIELD **)0); }
2N/A
2N/Aint
2N/Afield_count(f)
2N/AFORM *f;
2N/A{ return (-1); }
2N/A
2N/Aint
2N/Aset_form_win(f, window)
2N/AFORM *f;
2N/AWINDOW *window;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/AWINDOW *
2N/Aform_win(f)
2N/AFORM *f;
2N/A{ return ((WINDOW *)0); }
2N/A
2N/Aint
2N/Aset_form_sub(f, window)
2N/AFORM *f;
2N/AWINDOW *window;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/AWINDOW *
2N/Aform_sub(f)
2N/AFORM *f;
2N/A{ return ((WINDOW *)0); }
2N/A
2N/Aint
2N/Aset_current_field(f, c)
2N/AFORM *f;
2N/AFIELD *c;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/AFIELD *
2N/Acurrent_field(f)
2N/AFORM *f;
2N/A{ return ((FIELD *)0); }
2N/A
2N/Aint
2N/Afield_index(f)
2N/AFIELD *f;
2N/A{ return (-1); }
2N/A
2N/Aint
2N/Aset_form_page(f, page)
2N/AFORM *f;
2N/Aint page;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Aform_page(f)
2N/AFORM *f;
2N/A{ return (-1); }
2N/A
2N/Aint
2N/Ascale_form(f, rows, cols)
2N/AFORM *f;
2N/Aint *rows;
2N/Aint *cols;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Aset_form_init(f, func)
2N/AFORM *f;
2N/APTF_void func;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/APTF_void
2N/Aform_init(f)
2N/AFORM *f;
2N/A{ return ((PTF_void)0); }
2N/A
2N/Aint
2N/Aset_form_term(f, func)
2N/AFORM *f;
2N/APTF_void func;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/APTF_void
2N/Aform_term(f)
2N/AFORM *f;
2N/A{ return ((PTF_void)0); }
2N/A
2N/Aint
2N/Aset_field_init(f, func)
2N/AFORM *f;
2N/APTF_void func;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/APTF_void
2N/Afield_init(f)
2N/AFORM *f;
2N/A{ return ((PTF_void)0); }
2N/A
2N/Aint
2N/Aset_field_term(f, func)
2N/AFORM *f;
2N/APTF_void func;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/APTF_void
2N/Afield_term(f)
2N/AFORM *f;
2N/A{ return ((PTF_void)0); }
2N/A
2N/Aint
2N/Apost_form(f)
2N/AFORM *f;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Aunpost_form(f)
2N/AFORM *f;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Apos_form_cursor(f)
2N/AFORM *f;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Aform_driver(f, c)
2N/AFORM *f;
2N/Aint c;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Aset_form_userptr(f, userptr)
2N/AFORM *f;
2N/Achar *userptr;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Achar *
2N/Aform_userptr(f)
2N/AFORM *f;
2N/A{ return ((char *)0); }
2N/A
2N/Aint
2N/Aset_form_opts(f, opts)
2N/AFORM *f;
2N/AOPTIONS opts;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/AOPTIONS
2N/Aform_opts(f)
2N/AFORM *f;
2N/A{ return ((OPTIONS)0); }
2N/A
2N/Aint
2N/Aform_opts_on(f, opts)
2N/AFORM *f;
2N/AOPTIONS opts;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Aform_opts_off(f, opts)
2N/AFORM *f;
2N/AOPTIONS opts;
2N/A{ return (E_SYSTEM_ERROR); }
2N/A
2N/Aint
2N/Adata_ahead(f)
2N/AFORM *f;
2N/A{ return (FALSE); }
2N/A
2N/Aint
2N/Adata_behind(f)
2N/AFORM *f;
2N/A{ return (FALSE); }