From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 16 19:04:51 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 4F4F0106566C; Mon, 16 Mar 2009 19:04:51 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.delphij.net (delphij-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:2c9::2]) by mx1.freebsd.org (Postfix) with ESMTP id E6AD78FC19; Mon, 16 Mar 2009 19:04:50 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [211.166.10.233]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tarsier.delphij.net (Postfix) with ESMTPS id 8CE0528449; Tue, 17 Mar 2009 03:04:49 +0800 (CST) Received: from localhost (tarsier.geekcn.org [211.166.10.233]) by tarsier.geekcn.org (Postfix) with ESMTP id 65D93EC5EE8; Tue, 17 Mar 2009 03:04:48 +0800 (CST) X-Virus-Scanned: amavisd-new at geekcn.org Received: from tarsier.geekcn.org ([211.166.10.233]) by localhost (mail.geekcn.org [211.166.10.233]) (amavisd-new, port 10024) with ESMTP id tBr9wh846K2N; Tue, 17 Mar 2009 03:04:40 +0800 (CST) Received: from charlie.delphij.net (adsl-76-237-33-62.dsl.pltn13.sbcglobal.net [76.237.33.62]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTPSA id 74C3AEC1D7E; Tue, 17 Mar 2009 03:04:36 +0800 (CST) DomainKey-Signature: a=rsa-sha1; s=default; d=delphij.net; c=nofws; q=dns; h=message-id:date:from:reply-to:organization:user-agent: mime-version:to:cc:subject:references:in-reply-to: x-enigmail-version:openpgp:content-type:content-transfer-encoding; b=KFLls8puHK91q1ruY/JeJO8cYIg3MZcHP0AxbtsxI0UIPt18ZMpx06Lk9STuD1Dpe bRgu6T/om1ISlbxIdqcCw== Message-ID: <49BEA2BC.6000405@delphij.net> Date: Mon, 16 Mar 2009 12:04:28 -0700 From: Xin LI Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.19 (X11/20090217) MIME-Version: 1.0 To: Cipta H References: <13b997e60903160716x21881adfma588c32551c36e6f@mail.gmail.com> <21C1FF9D-4CDA-4476-9F11-3DE281279C1A@freebsd.org> <13b997e60903161141j8faaf7frd6ce9b1423b40164@mail.gmail.com> In-Reply-To: <13b997e60903161141j8faaf7frd6ce9b1423b40164@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=18EDEBA0; url=http://www.delphij.net/delphij.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Rui Paulo Subject: Re: writing libnetstat for Summer of Code 2009 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net 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:04:51 -0000 -----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)? > On Mon, Mar 16, 2009 at 1:34 PM, Rui Paulo wrote: >> On 16 Mar 2009, at 14:16, Cipta H wrote: >>> 2. How much experience in C do you need to do this project? Do you >>> need to know the FreeBSD kernel? >> Yes, you need to understand the C programming language well and to be able >> to learn how the FreeBSD kernel works. You also need to figure out a way to >> structure the data. I know that XML was proposed in the past, but I don't >> know if this is the case. >> >> -- >> Rui Paulo >> >> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" - -- Xin LI http://www.delphij.net/ FreeBSD - The Power to Serve! -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkm+orwACgkQi+vbBBjt66DyAACfZYT9/IbaPkUViBqDV6whxi2L N/8An0av6fp/EahIw5aUmd01lfNEo4el =t1WB -----END PGP SIGNATURE-----