diff options
Diffstat (limited to 'lib/libform/fld_page.c')
-rw-r--r-- | lib/libform/fld_page.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/libform/fld_page.c b/lib/libform/fld_page.c index caf19a523dc..3e37d022917 100644 --- a/lib/libform/fld_page.c +++ b/lib/libform/fld_page.c @@ -1,7 +1,7 @@ -/* $OpenBSD: fld_page.c,v 1.3 1999/05/17 03:04:15 millert Exp $ */ +/* $OpenBSD: fld_page.c,v 1.4 2001/01/22 18:02:13 millert Exp $ */ /**************************************************************************** - * Copyright (c) 1998 Free Software Foundation, Inc. * + * Copyright (c) 1998,2000 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -34,7 +34,7 @@ #include "form.priv.h" -MODULE_ID("$From: fld_page.c,v 1.4 1999/05/16 17:19:37 juergen Exp $") +MODULE_ID("$From: fld_page.c,v 1.5 2000/12/10 02:09:38 tom Exp $") /*--------------------------------------------------------------------------- | Facility : libnform @@ -46,7 +46,8 @@ MODULE_ID("$From: fld_page.c,v 1.4 1999/05/16 17:19:37 juergen Exp $") | Return Values : E_OK - success | E_CONNECTED - field is connected +--------------------------------------------------------------------------*/ -int set_new_page(FIELD * field, bool new_page_flag) +NCURSES_EXPORT(int) +set_new_page (FIELD * field, bool new_page_flag) { Normalize_Field(field); if (field->form) @@ -70,7 +71,8 @@ int set_new_page(FIELD * field, bool new_page_flag) | Return Values : TRUE - field starts a new page | FALSE - field doesn't start a new page +--------------------------------------------------------------------------*/ -bool new_page(const FIELD * field) +NCURSES_EXPORT(bool) +new_page (const FIELD * field) { return (Normalize_Field(field)->status & _NEWPAGE) ? TRUE : FALSE; } |