[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-recutils] A C language API Library
From: |
Jose E. Marchesi |
Subject: |
Re: [bug-recutils] A C language API Library |
Date: |
Sun, 20 Feb 2011 20:51:58 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) |
I would be pleased to be able to execute the recutils
functionalities (recind, recsel..) from within a C executable, but
without forking via the system() command. I didn't go deeply into
the librec code and features, may be this exists already? If yes, is
it documented, and if not, could you consider doing something alike?
librec does not provide the functionalities implemented by the rec*
utilities. Instead, it provides general functions.
For example, it provides functions to iterate on records in a record set
and to apply a selection expression to the records. It is quite easy to
use the librec functionality to build your own recutil. Take a look to
the code in utils/.
--
Jose E. Marchesi address@hidden
GNU Project http://www.gnu.org