[Integrit-users] Re: Technical Quesiton About Integrit
Brought to you by:
ecashin
From: Yuri <wa...@yu...> - 2005-10-24 20:43:20
|
> Zhan Zhaohua <webpurchasing <at> yahoo.com> writes: Hi Zhan Zhaohua, I've seen nobody responded so I drop in. I've worked a bit on integrit recently, I will try to answer what I can. > 1.We know the Integrit is writed in C. Does it have > C API? > We select the document and source code, but we > always not sure whether Integrit has C API to use. > Maybe we need change the source code for our need. We > know the Integrit is GPL. :) > > 2. Because we will use it at many way so we want to > know whether Integrit support C++/Java API, or the > other language? No, and yes. No because integrit does not officially have a documented api except for the command line utility. Yes because and internal api is used by the i-ls and i-viewdb utilities to access and stat files produced by integrit. The code is clearly separated, and thus tailoring integrit to your needs should be easy. This is still not documented and subject to change though, so it depends on your needs. The output format instead is clearly documented and will remain consistent across releases. > 3. This quesiton is about Integrit's size. Could > you tell us how about its program size and the size > when executing it. You can better verify it by yourself. integrit runtime execution speed and size is mostly cdb's speed, which is rather conservative. Please see: http://cr.yp.to/cdb.html Currently integrit grows up to 6mb of real (22mb virtual) memory to scan appprox 250k files on linux. Each record takes ~230bytes on the final db. > 4. When compiler the source code which library is > necessary? A C compiler and a posix system. No external libraries are required. |