From clamav-devel-bounces@lists.clamav.net  Mon May 11 20:28:11 2009
Return-Path: <clamav-devel-bounces@lists.clamav.net>
X-Original-To: list@tad.clamav.net
Delivered-To: list@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id Z1n9Yu186NdZ; Mon, 11 May 2009 20:28:10 +0200 (CEST)
Received: from tad.clamav.net (localhost.localdomain [127.0.0.1])
	by tad.clamav.net (Postfix) with ESMTP id 260A716C2F5;
	Mon, 11 May 2009 20:28:10 +0200 (CEST)
X-Original-To: clamav-devel@tad.clamav.net
Delivered-To: clamav-devel@tad.clamav.net
X-Virus-Scanned: Debian amavisd-new at tad.clamav.net
Received: from tad.clamav.net ([127.0.0.1])
	by localhost (tad.clamav.net [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id zidSA+hEdTqJ for <clamav-devel@tad.clamav.net>;
	Mon, 11 May 2009 20:28:07 +0200 (CEST)
X-Greylist: delayed 333 seconds by postgrey-1.27 at tad;
	Mon, 11 May 2009 20:28:06 CEST
Received: from smtpfb1-g21.free.fr (smtpfb1-g21.free.fr [212.27.42.9])
	by tad.clamav.net (Postfix) with ESMTP id 8476B16C098
	for <clamav-devel@lists.clamav.net>;
	Mon, 11 May 2009 20:28:06 +0200 (CEST)
Received: from smtp5-g21.free.fr (smtp5-g21.free.fr [212.27.42.5])
	by smtpfb1-g21.free.fr (Postfix) with ESMTP id 269E77868C3
	for <clamav-devel@lists.clamav.net>;
	Mon, 11 May 2009 20:22:33 +0200 (CEST)
Received: from smtp5-g21.free.fr (localhost [127.0.0.1])
	by smtp5-g21.free.fr (Postfix) with ESMTP id 52EF1D48223
	for <clamav-devel@lists.clamav.net>;
	Mon, 11 May 2009 20:22:30 +0200 (CEST)
Received: from imac-de-mathieu.local (ze.garambrogne.net [82.227.122.98])
	by smtp5-g21.free.fr (Postfix) with ESMTP id 51113D481F1
	for <clamav-devel@lists.clamav.net>;
	Mon, 11 May 2009 20:22:28 +0200 (CEST)
Message-ID: <4A086CE3.5040303@palourde.net>
Date: Mon, 11 May 2009 20:22:27 +0200
From: Mathieu <mathieu@palourde.net>
Organization: Palourde
User-Agent: Postbox 1.0b11 (Macintosh/2009041623)
MIME-Version: 1.0
To: clamav-devel@lists.clamav.net
X-Content-Filtered-By: Mailman/MimeDel 2.1.9
Subject: [Clamav-devel] objective-C version of freshclam
X-BeenThere: clamav-devel@lists.clamav.net
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ClamAV Development <clamav-devel@lists.clamav.net>
List-Id: ClamAV Development <clamav-devel.lists.clamav.net>
List-Unsubscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel>,
	<mailto:clamav-devel-request@lists.clamav.net?subject=unsubscribe>
List-Post: <mailto:clamav-devel@lists.clamav.net>
List-Help: <mailto:clamav-devel-request@lists.clamav.net?subject=help>
List-Subscribe: <http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel>,
	<mailto:clamav-devel-request@lists.clamav.net?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: clamav-devel-bounces@lists.clamav.net
Errors-To: clamav-devel-bounces@lists.clamav.net

I'm working on an antivirus for Mac, under GPL. Clamd protocol and its 
unix socket transport is just fine for interacting from Objective-C. But 
freshclam is a black box, it prints stuff for cli user or trigger 
something when the work is done. Not enough for a user interface.
I patched feshclam.c to make it send objective C message while 
downloading and updating virus definitions.

The code is avialable on github : 
http://github.com/athoune/palourde/tree/master

I'm not a C coder, I'd rather scripting or java stuff, but Objective-C 
is nice to use, a bit strange, like ET meets Le Corbusier.

M.
-- 
Palourde.net est un antivirus libre pour le Mac
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net

