summaryrefslogtreecommitdiff
path: root/console/display.h
diff options
context:
space:
mode:
authorMarcus Brinkmann <marcus@gnu.org>2002-06-13 00:24:26 +0000
committerMarcus Brinkmann <marcus@gnu.org>2002-06-13 00:24:26 +0000
commitccc4092e238c5e074a32e2c5794ab01934f272df (patch)
treed1cbbed8182717c1bc1eba4c288b400b4ed36324 /console/display.h
parent693eb63d90f9036680e538bc84275a32f707f926 (diff)
2002-06-13 Marcus Brinkmann <marcus@gnu.org>
* Makefile (DIST_FILES): New target. (MIGSTUBS): Likewise. (OBJS): Add $(MIGSTUBS). * ourfs_notify.defs: New file. * console.c: Diddle order of typedefs. (netfs_attempt_read): Clip AMT to bytes left to read before calling display_read. (netfs_S_file_notice_changes): New function. * console.h: Include <stdint.h>, not <sys/types.h>. Change all types from u_int32_t to uint32_t. * display.c: Include <stddef.h> and "outfs_notify_U.h". Change all u_int_32 types to uint32_t. (struct modreq): New structure. (struct display): New member filemod_reqs. (free_modreqs): New function. (display_notice_changes): Likewise. (display_notice_filechange): Likewise. (display_destroy): Free filemod_reqs member of DISPLAY. (MATRIX_POS): Macro removed. (screen_fill): Rewritten. (screen_shift_left): New function. (screen_shift_right): Likewise. (screen_scroll_up): Function removed. (screen_scroll_down): Likewise. (screen_scroll_left): Likewise. (screen_scroll_right): Likewise. (handle_esc_bracket): Use new screen_* functions. (display_output_one): Store old cursor and screen attributes, and if they have been changed, send file change notifications. * display.h: New prototype for display_notice_changes.
Diffstat (limited to 'console/display.h')
-rw-r--r--console/display.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/console/display.h b/console/display.h
index c48aec99..303c42e2 100644
--- a/console/display.h
+++ b/console/display.h
@@ -60,6 +60,8 @@ mach_port_t display_get_filemap (display_t display, vm_prot_t prot);
ssize_t display_read (display_t display, int nonblock, off_t off,
char *data, size_t len);
+error_t display_notice_changes (display_t display, mach_port_t notify);
+
/* Resume the output on the display DISPLAY. */
void display_start_output (display_t display);