From: Ian Jackson Subject: Re: [PATCH] syslog support to xentoollog Date: Mon, 7 Jun 2010 12:51:39 +0100 Message-ID: <19468.56651.805374.123776@mariner.uk.xensource.com> References: <4C06CF97.8070002@flexiant.com> <4C07BCDC.8020808@flexiant.com> <19464.58055.990300.132491@mariner.uk.xensource.com> <4C099F90.3080205@flexiant.com> <19468.51942.998644.811395@mariner.uk.xensource.com> <4C0CD9A2.8010002@flexiant.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4C0CD9A2.8010002@flexiant.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Gihan Munasinghe Cc: "xen-devel@lists.xensource.com" , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org Gihan Munasinghe writes ("Re: [PATCH] syslog support to xentoollog"): > Should a call like xtl_syslog_change_facility() given out directly to > the library users. this call can be wrapped with in a more generic call > like > xtl_cahnge_log_place(struct xentool_logger , void *new_place); This is a bad idea because the type and semantics of new_place are not defined. > In stdiostream implementation this can be caste to a stream and in > syslogger implementation this can be cast as a facility. Yuck. Ian.