xref: /openbsd/lib/libform/f_trace.c (revision 5e231b3a)
1*5e231b3aSkrw /*	$OpenBSD: f_trace.c,v 1.2 2015/01/23 22:48:51 krw Exp $	*/
281d8c4e1Snicm /****************************************************************************
381d8c4e1Snicm  * Copyright (c) 2004 Free Software Foundation, Inc.                        *
481d8c4e1Snicm  *                                                                          *
581d8c4e1Snicm  * Permission is hereby granted, free of charge, to any person obtaining a  *
681d8c4e1Snicm  * copy of this software and associated documentation files (the            *
781d8c4e1Snicm  * "Software"), to deal in the Software without restriction, including      *
881d8c4e1Snicm  * without limitation the rights to use, copy, modify, merge, publish,      *
981d8c4e1Snicm  * distribute, distribute with modifications, sublicense, and/or sell       *
1081d8c4e1Snicm  * copies of the Software, and to permit persons to whom the Software is    *
1181d8c4e1Snicm  * furnished to do so, subject to the following conditions:                 *
1281d8c4e1Snicm  *                                                                          *
1381d8c4e1Snicm  * The above copyright notice and this permission notice shall be included  *
1481d8c4e1Snicm  * in all copies or substantial portions of the Software.                   *
1581d8c4e1Snicm  *                                                                          *
1681d8c4e1Snicm  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  *
1781d8c4e1Snicm  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               *
1881d8c4e1Snicm  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   *
1981d8c4e1Snicm  * IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   *
2081d8c4e1Snicm  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    *
2181d8c4e1Snicm  * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    *
2281d8c4e1Snicm  * THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               *
2381d8c4e1Snicm  *                                                                          *
2481d8c4e1Snicm  * Except as contained in this notice, the name(s) of the above copyright   *
2581d8c4e1Snicm  * holders shall not be used in advertising or otherwise to promote the     *
2681d8c4e1Snicm  * sale, use or other dealings in this Software without prior written       *
2781d8c4e1Snicm  * authorization.                                                           *
2881d8c4e1Snicm  ****************************************************************************/
2981d8c4e1Snicm 
3081d8c4e1Snicm /****************************************************************************
3181d8c4e1Snicm  *   Author:  Thomas E. Dickey                                              *
3281d8c4e1Snicm  ****************************************************************************/
3381d8c4e1Snicm 
3481d8c4e1Snicm #include "form.priv.h"
3581d8c4e1Snicm 
36*5e231b3aSkrw MODULE_ID("$Id: f_trace.c,v 1.2 2015/01/23 22:48:51 krw Exp $")
3781d8c4e1Snicm 
NCURSES_EXPORT(FIELD **)3881d8c4e1Snicm NCURSES_EXPORT(FIELD **)
3981d8c4e1Snicm _nc_retrace_field_ptr(FIELD **code)
4081d8c4e1Snicm {
4181d8c4e1Snicm   T((T_RETURN("%p"), code));
4281d8c4e1Snicm   return code;
4381d8c4e1Snicm }
4481d8c4e1Snicm 
4581d8c4e1Snicm NCURSES_EXPORT(FIELD *)
_nc_retrace_field(FIELD * code)4681d8c4e1Snicm _nc_retrace_field(FIELD *code)
4781d8c4e1Snicm {
4881d8c4e1Snicm   T((T_RETURN("%p"), code));
4981d8c4e1Snicm   return code;
5081d8c4e1Snicm }
5181d8c4e1Snicm 
5281d8c4e1Snicm NCURSES_EXPORT(FIELDTYPE *)
_nc_retrace_field_type(FIELDTYPE * code)5381d8c4e1Snicm _nc_retrace_field_type(FIELDTYPE *code)
5481d8c4e1Snicm {
5581d8c4e1Snicm   T((T_RETURN("%p"), code));
5681d8c4e1Snicm   return code;
5781d8c4e1Snicm }
5881d8c4e1Snicm 
5981d8c4e1Snicm NCURSES_EXPORT(FORM *)
_nc_retrace_form(FORM * code)6081d8c4e1Snicm _nc_retrace_form(FORM *code)
6181d8c4e1Snicm {
6281d8c4e1Snicm   T((T_RETURN("%p"), code));
6381d8c4e1Snicm   return code;
6481d8c4e1Snicm }
6581d8c4e1Snicm 
6681d8c4e1Snicm NCURSES_EXPORT(Form_Hook)
_nc_retrace_form_hook(Form_Hook code)6781d8c4e1Snicm _nc_retrace_form_hook(Form_Hook code)
6881d8c4e1Snicm {
6981d8c4e1Snicm   T((T_RETURN("%p"), code));
7081d8c4e1Snicm   return code;
7181d8c4e1Snicm }
72