From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 16 19:26:36 2009 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 07842106566C for ; Mon, 16 Mar 2009 19:26:36 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-fx0-f158.google.com (mail-fx0-f158.google.com [209.85.220.158]) by mx1.freebsd.org (Postfix) with ESMTP id 53EB08FC16 for ; Mon, 16 Mar 2009 19:26:35 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by fxm2 with SMTP id 2so3490254fxm.43 for ; Mon, 16 Mar 2009 12:26:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:cc:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-pgp-agent:x-mailer; bh=ReXOIaNEDvXqkuqJ53w8Mr5Mu2fWPthPd5Chb7U7LRI=; b=O7xEyodepKveKnQAXu9bWvlf5R+kZlbdPI1WGhplQaMGro7jXKEa+lfomSe0+jDtro CWMNKG/zx12KS/+939rzZGlIwDHifKJCr9gpJxwuxEOpkJL6+d6wxUTNX4WeOMBQ/lK9 4XS823Bygnx/UsUQKegJJtd7FAff7h0slVi7k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:cc:message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-pgp-agent:x-mailer; b=wz2rmqNt1+bT3ybmWmbv8BiBW7LmyA7z01sNiOxwTaMGIvmPuQMycVd0IRYpstO+lr B2JgcTK+JlY1vOCiqafXymIYwbHptwkCnGSlyQcKefGlJ1vapcfzT9ynO3AEYv3yPG/G gPiFWvPfBoTMZVDzC1Nk6BCO18/qGCW+2AP98= Received: by 10.103.225.11 with SMTP id c11mr2294237mur.24.1237231594418; Mon, 16 Mar 2009 12:26:34 -0700 (PDT) Received: from epsilon.lan (bl9-152-41.dsl.telepac.pt [85.242.152.41]) by mx.google.com with ESMTPS id j6sm11225678mue.34.2009.03.16.12.26.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 16 Mar 2009 12:26:33 -0700 (PDT) Sender: Rui Paulo Message-Id: <08007F9A-E6FB-4DEE-AB4A-84D3991561D5@freebsd.org> From: Rui Paulo To: d@delphij.net In-Reply-To: <49BEA2BC.6000405@delphij.net> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-4--921135233" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Mon, 16 Mar 2009 19:26:25 +0000 References: <13b997e60903160716x21881adfma588c32551c36e6f@mail.gmail.com> <21C1FF9D-4CDA-4476-9F11-3DE281279C1A@freebsd.org> <13b997e60903161141j8faaf7frd6ce9b1423b40164@mail.gmail.com> <49BEA2BC.6000405@delphij.net> X-Pgp-Agent: GPGMail 1.2.0 (v56) X-Mailer: Apple Mail (2.930.3) Cc: freebsd-hackers@freebsd.org, Cipta H Subject: Re: writing libnetstat for Summer of Code 2009 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 19:26:36 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-4--921135233 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On 16 Mar 2009, at 19:04, Xin LI wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, Cipta, > > Cipta H wrote: >> XML? I was thinking of some opaque C structures that the functions >> write >> data to, and then supply some accessor methods, just like the ones in >> libmemstat. Or are you thinking of a different XML? > > I'm not very sure but I think Rui is referring XML like the GEOM > subsystem has used (perhaps to have the kernel expose the statistics > data with XML and the userland part of the library parse and return > the > result)? That's it. Of course, Robert should now more about this than I do and since he mentioned libmemstat, opaque C structs are probably what he was thinking. -- Rui Paulo --Apple-Mail-4--921135233 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAkm+p+IACgkQfD8M/ASTygLH+ACdGkHl+Ce8QqXonlN4taOC2bkF ZKwAoKiGgKZuuKE01QwLhncfIzAS1KRc =/53P -----END PGP SIGNATURE----- --Apple-Mail-4--921135233--