From f8ffbad0cec3ff0be1376a6352fe63a3c5e5f361 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Fri, 13 Dec 2013 22:35:31 -0800 Subject: New stream property: name. Some streams can report their name: some kind of string. * stream.c (name_k): New variable. (null_get_prop): New static function. (null_ops): Wire null_get_prop into ops structure. (stdio_get_prop): Report h->descr as name. (string_in_get_prop): New function. (string_in_ops): Wire string_in_get_prop into ops structure. (stream_init): Initialize name_k. * stream.h (name_k): Declared. * syslog.c (syslog_get_prop): Report "syslog" as stream name. --- ChangeLog | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 07f901d8..6b0dcb93 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,21 @@ +2013-12-13 Kaz Kylheku + + New stream property: name. Some streams can report + their name: some kind of string. + + * stream.c (name_k): New variable. + (null_get_prop): New static function. + (null_ops): Wire null_get_prop into ops structure. + (stdio_get_prop): Report h->descr as name. + (string_in_get_prop): New function. + (string_in_ops): Wire string_in_get_prop into ops structure. + (stream_init): Initialize name_k. + + * stream.h (name_k): Declared. + + * syslog.c (syslog_get_prop): Report "syslog" as + stream name. + 2013-12-13 Kaz Kylheku * signal.c (sig_handler): Pass two arguments to signal -- cgit v1.2.3