Logo Search packages:      
Sourcecode: langupdate version File versions


Go to the documentation of this file.
 *            langupdate.h
 *  Mon Nov 13 12:54:07 2006
 *  Copyright  2006  Neil Williams
 *  linux@codehelp.co.uk
    This package is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
/**   @file   langupdate.h
      @brief  Parse the cache output
      @author Neil Williams <codehelp@debian.org>
/** @{

#define LOCALE_SUFFIX "locale"
#define PACKAGE_CHK   "Package"
#define DPKG_FILE "/var/lib/dpkg/status"

/** \brief default for the command line configuration. */
00037 #define SUITE "unstable"

/** \brief Collate the various apt options into a string

Depending on various settings, the apt configuration list needs to be
adjusted so it cannot be completely defined as a macro. This function adds
the customisations, creates a newly allocated string and returns it. The
caller is responsible for freeing the string.

Also sets the langupdate cache data to the same configuration
if this has not been done already.

 \return newly allocated string of apt options or NULL on error.
gchar * lu_get_aptstring (void);

/** @} */

#endif /* _LANGUPDATE_H */

Generated by  Doxygen 1.6.0   Back to index