aboutsummaryrefslogtreecommitdiff
path: root/src/pool.h
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-04-27 02:35:27 -0400
committerB. Watson <urchlay@slackware.uk>2026-04-27 02:35:27 -0400
commit18c80370b5fed57d151c55d186cb94be0a1e1ec6 (patch)
treee04e18189de4dd301e596ff9069f4571946fab2b /src/pool.h
parent668d47413c3e83c3a2b90da87057b8c0e1d489a4 (diff)
downloadfujinet-chat-18c80370b5fed57d151c55d186cb94be0a1e1ec6.tar.gz
Reclaim a screen's lines when it gets closed.
Diffstat (limited to 'src/pool.h')
-rw-r--r--src/pool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pool.h b/src/pool.h
index ba7e60f..d78e611 100644
--- a/src/pool.h
+++ b/src/pool.h
@@ -74,3 +74,7 @@ char get_smallest_pool(void);
/* add a line to a screen */
void add_line(char s);
+
+/* called by scr_destroy(). returns a now-destroyed screen's
+ lines to the pool's free list. */
+void pool_reclaim_lines(char s);