]> git.ozlabs.org Git - petitboot/blobdiff - ui/ncurses/nc-scr.h
ui/ncurses: Add nc_scr_{un,}post()
[petitboot] / ui / ncurses / nc-scr.h
index 9f80e65c1462727718d03a4b1456110a14f0e332..775e8de4e25799ecd0c6d8f8a556617611e217e9 100644 (file)
@@ -47,9 +47,6 @@ enum pb_nc_sig {
        pb_removed_sig     = -555,
 };
 
-void nc_start(void);
-void nc_atexit(void);
-
 static inline void nc_flush_keys(void)
 {
        while (getch() != ERR)
@@ -98,4 +95,7 @@ void nc_scr_status_free(struct nc_scr *scr);
 void nc_scr_status_printf(struct nc_scr *scr, const char *format, ...);
 void nc_scr_frame_draw(struct nc_scr *scr);
 
+int nc_scr_post(struct nc_scr *src);
+int nc_scr_unpost(struct nc_scr *src);
+
 #endif