summaryrefslogtreecommitdiff
path: root/lib/libpanel
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpanel')
-rw-r--r--lib/libpanel/p_above.c10
-rw-r--r--lib/libpanel/p_below.c10
-rw-r--r--lib/libpanel/p_bottom.c10
-rw-r--r--lib/libpanel/p_delete.c10
-rw-r--r--lib/libpanel/p_hidden.c10
-rw-r--r--lib/libpanel/p_hide.c10
-rw-r--r--lib/libpanel/p_move.c10
-rw-r--r--lib/libpanel/p_new.c10
-rw-r--r--lib/libpanel/p_replace.c10
-rw-r--r--lib/libpanel/p_show.c10
-rw-r--r--lib/libpanel/p_top.c10
-rw-r--r--lib/libpanel/p_update.c10
-rw-r--r--lib/libpanel/p_user.c15
-rw-r--r--lib/libpanel/p_win.c10
-rw-r--r--lib/libpanel/panel.c32
-rw-r--r--lib/libpanel/panel.h34
-rw-r--r--lib/libpanel/panel.priv.h18
17 files changed, 117 insertions, 112 deletions
diff --git a/lib/libpanel/p_above.c b/lib/libpanel/p_above.c
index c8941a6c89c..697422428d2 100644
--- a/lib/libpanel/p_above.c
+++ b/lib/libpanel/p_above.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_above.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_above.c,v 1.4 2001/01/22 18:02:07 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 *
@@ -37,10 +37,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_above.c,v 1.3 1999/09/18 11:03:28 juergen Exp $")
+MODULE_ID("$From: p_above.c,v 1.4 2000/12/10 02:20:44 tom Exp $")
-PANEL*
-panel_above(const PANEL *pan)
+NCURSES_EXPORT(PANEL *)
+panel_above (const PANEL *pan)
{
if(!pan)
{
diff --git a/lib/libpanel/p_below.c b/lib/libpanel/p_below.c
index 33bad48323f..122cad4f95c 100644
--- a/lib/libpanel/p_below.c
+++ b/lib/libpanel/p_below.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_below.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_below.c,v 1.4 2001/01/22 18:02:09 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 *
@@ -37,10 +37,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_below.c,v 1.3 1999/09/18 11:03:33 juergen Exp $")
+MODULE_ID("$From: p_below.c,v 1.4 2000/12/10 02:20:44 tom Exp $")
-PANEL*
-panel_below(const PANEL *pan)
+NCURSES_EXPORT(PANEL*)
+panel_below (const PANEL *pan)
{
if(!pan)
{
diff --git a/lib/libpanel/p_bottom.c b/lib/libpanel/p_bottom.c
index e7918017846..608a6db87d0 100644
--- a/lib/libpanel/p_bottom.c
+++ b/lib/libpanel/p_bottom.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_bottom.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_bottom.c,v 1.4 2001/01/22 18:02:09 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 *
@@ -38,10 +38,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_bottom.c,v 1.7 1999/11/25 13:49:26 juergen Exp $")
+MODULE_ID("$From: p_bottom.c,v 1.8 2000/12/10 02:20:44 tom Exp $")
-int
-bottom_panel(PANEL *pan)
+NCURSES_EXPORT(int)
+bottom_panel (PANEL *pan)
{
int err = OK;
diff --git a/lib/libpanel/p_delete.c b/lib/libpanel/p_delete.c
index 9cfebc7f231..371c98bf5df 100644
--- a/lib/libpanel/p_delete.c
+++ b/lib/libpanel/p_delete.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_delete.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_delete.c,v 1.4 2001/01/22 18:02:09 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 *
@@ -38,10 +38,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_delete.c,v 1.4 1999/11/25 13:49:26 juergen Exp $")
+MODULE_ID("$From: p_delete.c,v 1.5 2000/12/10 02:20:44 tom Exp $")
-int
-del_panel(PANEL *pan)
+NCURSES_EXPORT(int)
+del_panel (PANEL *pan)
{
int err = OK;
if(pan)
diff --git a/lib/libpanel/p_hidden.c b/lib/libpanel/p_hidden.c
index ff47a80d10b..11abe542b96 100644
--- a/lib/libpanel/p_hidden.c
+++ b/lib/libpanel/p_hidden.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_hidden.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_hidden.c,v 1.4 2001/01/22 18:02:09 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 *
@@ -38,10 +38,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_hidden.c,v 1.4 1999/11/22 18:02:41 juergen Exp $")
+MODULE_ID("$From: p_hidden.c,v 1.5 2000/12/10 02:20:44 tom Exp $")
-int
-panel_hidden(const PANEL *pan)
+NCURSES_EXPORT(int)
+panel_hidden (const PANEL *pan)
{
if(!pan)
return(ERR);
diff --git a/lib/libpanel/p_hide.c b/lib/libpanel/p_hide.c
index d3cd6cab7cb..036fb510d5d 100644
--- a/lib/libpanel/p_hide.c
+++ b/lib/libpanel/p_hide.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_hide.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_hide.c,v 1.4 2001/01/22 18:02:09 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 *
@@ -38,10 +38,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_hide.c,v 1.5 1999/11/25 13:49:26 juergen Exp $")
+MODULE_ID("$From: p_hide.c,v 1.6 2000/12/10 02:20:44 tom Exp $")
-int
-hide_panel(register PANEL *pan)
+NCURSES_EXPORT(int)
+hide_panel (register PANEL *pan)
{
int err = OK;
diff --git a/lib/libpanel/p_move.c b/lib/libpanel/p_move.c
index 552e2164f98..08be50b3875 100644
--- a/lib/libpanel/p_move.c
+++ b/lib/libpanel/p_move.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_move.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_move.c,v 1.4 2001/01/22 18:02:09 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 *
@@ -38,10 +38,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_move.c,v 1.5 1999/11/25 13:49:26 juergen Exp $")
+MODULE_ID("$From: p_move.c,v 1.6 2000/12/10 02:20:44 tom Exp $")
-int
-move_panel(PANEL *pan, int starty, int startx)
+NCURSES_EXPORT(int)
+move_panel (PANEL *pan, int starty, int startx)
{
if(!pan)
return(ERR);
diff --git a/lib/libpanel/p_new.c b/lib/libpanel/p_new.c
index b9bd9262562..c9aefacf5c3 100644
--- a/lib/libpanel/p_new.c
+++ b/lib/libpanel/p_new.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_new.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_new.c,v 1.4 2001/01/22 18:02:09 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 *
@@ -38,7 +38,7 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_new.c,v 1.5 1999/11/22 18:02:41 juergen Exp $")
+MODULE_ID("$From: p_new.c,v 1.6 2000/12/10 02:20:44 tom Exp $")
#ifdef TRACE
static char* stdscr_id;
@@ -76,8 +76,8 @@ root_panel(void)
return _nc_stdscr_pseudo_panel;
}
-PANEL *
-new_panel(WINDOW *win)
+NCURSES_EXPORT(PANEL *)
+new_panel (WINDOW *win)
{
PANEL *pan = (PANEL*)0;
diff --git a/lib/libpanel/p_replace.c b/lib/libpanel/p_replace.c
index bf2506e019f..0999af0f0b9 100644
--- a/lib/libpanel/p_replace.c
+++ b/lib/libpanel/p_replace.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_replace.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_replace.c,v 1.4 2001/01/22 18:02:09 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 *
@@ -38,10 +38,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_replace.c,v 1.5 1999/11/25 13:49:26 juergen Exp $")
+MODULE_ID("$From: p_replace.c,v 1.6 2000/12/10 02:20:44 tom Exp $")
-int
-replace_panel(PANEL *pan, WINDOW *win)
+NCURSES_EXPORT(int)
+replace_panel (PANEL *pan, WINDOW *win)
{
if(!pan)
return(ERR);
diff --git a/lib/libpanel/p_show.c b/lib/libpanel/p_show.c
index fb97cb12ab0..c2a8ed7d0df 100644
--- a/lib/libpanel/p_show.c
+++ b/lib/libpanel/p_show.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_show.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_show.c,v 1.4 2001/01/22 18:02:10 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 *
@@ -38,10 +38,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_show.c,v 1.7 1999/11/25 13:49:26 juergen Exp $")
+MODULE_ID("$From: p_show.c,v 1.8 2000/12/10 02:20:44 tom Exp $")
-int
-show_panel(PANEL *pan)
+NCURSES_EXPORT(int)
+show_panel (PANEL *pan)
{
int err = OK;
diff --git a/lib/libpanel/p_top.c b/lib/libpanel/p_top.c
index 6a68804f1c5..8a2215e8fd6 100644
--- a/lib/libpanel/p_top.c
+++ b/lib/libpanel/p_top.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_top.c,v 1.2 1998/07/24 17:08:16 millert Exp $ */
+/* $OpenBSD: p_top.c,v 1.3 2001/01/22 18:02:10 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 *
@@ -38,10 +38,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_top.c,v 1.2 1998/02/11 12:14:01 tom Exp $")
+MODULE_ID("$From: p_top.c,v 1.3 2000/12/10 02:20:44 tom Exp $")
-int
-top_panel(PANEL *pan)
+NCURSES_EXPORT(int)
+top_panel (PANEL *pan)
{
return(show_panel(pan));
}
diff --git a/lib/libpanel/p_update.c b/lib/libpanel/p_update.c
index 2b65a59602b..8da441ec40a 100644
--- a/lib/libpanel/p_update.c
+++ b/lib/libpanel/p_update.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_update.c,v 1.3 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: p_update.c,v 1.4 2001/01/22 18:02:10 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 *
@@ -38,10 +38,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_update.c,v 1.5 1999/11/25 13:49:26 juergen Exp $")
+MODULE_ID("$From: p_update.c,v 1.6 2000/12/10 02:20:44 tom Exp $")
-void
-update_panels(void)
+NCURSES_EXPORT(void)
+update_panels (void)
{
PANEL *pan;
diff --git a/lib/libpanel/p_user.c b/lib/libpanel/p_user.c
index 30b4e08580b..bb4e692c455 100644
--- a/lib/libpanel/p_user.c
+++ b/lib/libpanel/p_user.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_user.c,v 1.2 1998/07/24 17:08:18 millert Exp $ */
+/* $OpenBSD: p_user.c,v 1.3 2001/01/22 18:02:10 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 *
@@ -38,10 +38,11 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_user.c,v 1.3 1998/02/11 12:14:01 tom Exp $")
+MODULE_ID("$From: p_user.c,v 1.4 2000/12/10 02:20:44 tom Exp $")
-int
-set_panel_userptr(PANEL *pan, NCURSES_CONST void *uptr)
+NCURSES_EXPORT(int)
+set_panel_userptr
+(PANEL *pan, NCURSES_CONST void *uptr)
{
if(!pan)
return(ERR);
@@ -49,8 +50,8 @@ set_panel_userptr(PANEL *pan, NCURSES_CONST void *uptr)
return(OK);
}
-NCURSES_CONST void*
-panel_userptr(const PANEL *pan)
+NCURSES_EXPORT(NCURSES_CONST void*)
+panel_userptr (const PANEL *pan)
{
return(pan ? pan->user : (NCURSES_CONST void *)0);
}
diff --git a/lib/libpanel/p_win.c b/lib/libpanel/p_win.c
index ad62dbcc3e4..b986be31234 100644
--- a/lib/libpanel/p_win.c
+++ b/lib/libpanel/p_win.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: p_win.c,v 1.2 1998/07/24 17:08:20 millert Exp $ */
+/* $OpenBSD: p_win.c,v 1.3 2001/01/22 18:02:10 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 *
@@ -38,10 +38,10 @@
*/
#include "panel.priv.h"
-MODULE_ID("$From: p_win.c,v 1.2 1998/02/11 12:14:01 tom Exp $")
+MODULE_ID("$From: p_win.c,v 1.3 2000/12/10 02:20:43 tom Exp $")
-WINDOW*
-panel_window(const PANEL *pan)
+NCURSES_EXPORT(WINDOW *)
+panel_window (const PANEL *pan)
{
return(pan ? pan->win : (WINDOW *)0);
}
diff --git a/lib/libpanel/panel.c b/lib/libpanel/panel.c
index 3971878c63c..d8e9f902940 100644
--- a/lib/libpanel/panel.c
+++ b/lib/libpanel/panel.c
@@ -1,7 +1,7 @@
-/* $OpenBSD: panel.c,v 1.7 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: panel.c,v 1.8 2001/01/22 18:02:10 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 *
@@ -36,11 +36,12 @@
/* panel.c -- implementation of panels library, some core routines */
#include "panel.priv.h"
-MODULE_ID("$From: panel.c,v 1.18 1999/09/29 15:22:32 juergen Exp $")
+MODULE_ID("$From: panel.c,v 1.19 2000/12/10 02:20:43 tom Exp $")
#ifdef TRACE
#ifndef TRACE_TXT
-const char *_nc_my_visbuf(const void *ptr)
+NCURSES_EXPORT(const char *)
+_nc_my_visbuf (const void *ptr)
{
char temp[32];
if (ptr != 0)
@@ -57,8 +58,9 @@ const char *_nc_my_visbuf(const void *ptr)
dPanel(text,pan)
--------------------------------------------------------------------------*/
#ifdef TRACE
-void
-_nc_dPanel(const char *text, const PANEL *pan)
+NCURSES_EXPORT(void)
+_nc_dPanel
+(const char *text, const PANEL *pan)
{
_tracef("%s id=%s b=%s a=%s y=%d x=%d",
text, USER_PTR(pan->user),
@@ -72,8 +74,9 @@ _nc_dPanel(const char *text, const PANEL *pan)
dStack(fmt,num,pan)
--------------------------------------------------------------------------*/
#ifdef TRACE
-void
-_nc_dStack(const char *fmt, int num, const PANEL *pan)
+NCURSES_EXPORT(void)
+_nc_dStack
+(const char *fmt, int num, const PANEL *pan)
{
char s80[80];
@@ -96,8 +99,8 @@ _nc_dStack(const char *fmt, int num, const PANEL *pan)
Wnoutrefresh(pan) - debugging hook for wnoutrefresh
--------------------------------------------------------------------------*/
#ifdef TRACE
-void
-_nc_Wnoutrefresh(const PANEL *pan)
+NCURSES_EXPORT(void)
+_nc_Wnoutrefresh (const PANEL *pan)
{
dPanel("wnoutrefresh",pan);
wnoutrefresh(pan->win);
@@ -108,8 +111,8 @@ _nc_Wnoutrefresh(const PANEL *pan)
Touchpan(pan)
--------------------------------------------------------------------------*/
#ifdef TRACE
-void
-_nc_Touchpan(const PANEL *pan)
+NCURSES_EXPORT(void)
+_nc_Touchpan (const PANEL *pan)
{
dPanel("Touchpan",pan);
touchwin(pan->win);
@@ -120,8 +123,9 @@ _nc_Touchpan(const PANEL *pan)
Touchline(pan,start,count)
--------------------------------------------------------------------------*/
#ifdef TRACE
-void
-_nc_Touchline(const PANEL *pan, int start, int count)
+NCURSES_EXPORT(void)
+_nc_Touchline
+(const PANEL *pan, int start, int count)
{
char s80[80];
snprintf(s80,sizeof(s80),"Touchline s=%d c=%d",start,count);
diff --git a/lib/libpanel/panel.h b/lib/libpanel/panel.h
index 93a620f0023..b0c1f4a9c33 100644
--- a/lib/libpanel/panel.h
+++ b/lib/libpanel/panel.h
@@ -1,7 +1,7 @@
-/* $OpenBSD: panel.h,v 1.5 1999/11/28 17:49:19 millert Exp $ */
+/* $OpenBSD: panel.h,v 1.6 2001/01/22 18:02:11 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 *
@@ -52,21 +52,21 @@ typedef struct panel
extern "C" {
#endif
-extern WINDOW* panel_window(const PANEL *);
-extern void update_panels(void);
-extern int hide_panel(PANEL *);
-extern int show_panel(PANEL *);
-extern int del_panel(PANEL *);
-extern int top_panel(PANEL *);
-extern int bottom_panel(PANEL *);
-extern PANEL* new_panel(WINDOW *);
-extern PANEL* panel_above(const PANEL *);
-extern PANEL* panel_below(const PANEL *);
-extern int set_panel_userptr(PANEL *, NCURSES_CONST void *);
-extern NCURSES_CONST void* panel_userptr(const PANEL *);
-extern int move_panel(PANEL *, int, int);
-extern int replace_panel(PANEL *,WINDOW *);
-extern int panel_hidden(const PANEL *);
+extern NCURSES_EXPORT(WINDOW*) panel_window (const PANEL *);
+extern NCURSES_EXPORT(void) update_panels (void);
+extern NCURSES_EXPORT(int) hide_panel (PANEL *);
+extern NCURSES_EXPORT(int) show_panel (PANEL *);
+extern NCURSES_EXPORT(int) del_panel (PANEL *);
+extern NCURSES_EXPORT(int) top_panel (PANEL *);
+extern NCURSES_EXPORT(int) bottom_panel (PANEL *);
+extern NCURSES_EXPORT(PANEL*) new_panel (WINDOW *);
+extern NCURSES_EXPORT(PANEL*) panel_above (const PANEL *);
+extern NCURSES_EXPORT(PANEL*) panel_below (const PANEL *);
+extern NCURSES_EXPORT(int) set_panel_userptr (PANEL *, NCURSES_CONST void *);
+extern NCURSES_EXPORT(NCURSES_CONST void*) panel_userptr (const PANEL *);
+extern NCURSES_EXPORT(int) move_panel (PANEL *, int, int);
+extern NCURSES_EXPORT(int) replace_panel (PANEL *,WINDOW *);
+extern NCURSES_EXPORT(int) panel_hidden (const PANEL *);
#if defined(__cplusplus)
}
diff --git a/lib/libpanel/panel.priv.h b/lib/libpanel/panel.priv.h
index 1b497896e43..99388fdf5a6 100644
--- a/lib/libpanel/panel.priv.h
+++ b/lib/libpanel/panel.priv.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: panel.priv.h,v 1.6 2000/10/08 22:47:07 millert Exp $ */
+/* $OpenBSD: panel.priv.h,v 1.7 2001/01/22 18:02:11 millert Exp $ */
/****************************************************************************
* Copyright (c) 2000 Free Software Foundation, Inc. *
@@ -28,7 +28,7 @@
* authorization. *
****************************************************************************/
-/* $From: panel.priv.h,v 1.14 2000/09/02 18:22:23 tom Exp $ */
+/* $From: panel.priv.h,v 1.15 2000/12/10 00:27:20 tom Exp $ */
#ifndef _PANEL_PRIV_H
#define _PANEL_PRIV_H
@@ -49,8 +49,8 @@
# include <dbmalloc.h> /* Conor Cahill's library */
#endif
-#include <nc_panel.h>
#include "panel.h"
+#include <nc_panel.h>
#if ( CC_HAS_INLINE_FUNCS && !defined(TRACE) )
# define INLINE inline
@@ -66,18 +66,18 @@
#ifdef TRACE
- extern const char *_nc_my_visbuf(const void *);
+ extern NCURSES_EXPORT(const char *) _nc_my_visbuf (const void *);
# ifdef TRACE_TXT
# define USER_PTR(ptr) _nc_visbuf((const char *)ptr)
# else
# define USER_PTR(ptr) _nc_my_visbuf((const char *)ptr)
# endif
- extern void _nc_dPanel(const char*, const PANEL*);
- extern void _nc_dStack(const char*, int, const PANEL*);
- extern void _nc_Wnoutrefresh(const PANEL*);
- extern void _nc_Touchpan(const PANEL*);
- extern void _nc_Touchline(const PANEL*, int, int);
+ extern NCURSES_EXPORT(void) _nc_dPanel (const char*, const PANEL*);
+ extern NCURSES_EXPORT(void) _nc_dStack (const char*, int, const PANEL*);
+ extern NCURSES_EXPORT(void) _nc_Wnoutrefresh (const PANEL*);
+ extern NCURSES_EXPORT(void) _nc_Touchpan (const PANEL*);
+ extern NCURSES_EXPORT(void) _nc_Touchline (const PANEL*, int, int);
# define dBug(x) _tracef x
# define dPanel(text,pan) _nc_dPanel(text,pan)