diff options
Diffstat (limited to 'backends/alpm/pk-backend-packages.h')
-rw-r--r-- | backends/alpm/pk-backend-packages.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/backends/alpm/pk-backend-packages.h b/backends/alpm/pk-backend-packages.h new file mode 100644 index 000000000..4b2d7f85f --- /dev/null +++ b/backends/alpm/pk-backend-packages.h @@ -0,0 +1,33 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- + * + * Copyright (C) 2007 Andreas Obergrusberger <tradiaz@yahoo.de> + * Copyright (C) 2008-2010 Valeriy Lyasotskiy <onestep@ukr.net> + * Copyright (C) 2010-2011 Jonathan Conder <jonno.conder@gmail.com> + * + * Licensed under the GNU General Public License Version 2 + * + * This program 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 2 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 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#include <alpm.h> +#include <pk-backend.h> + +gchar *alpm_pkg_build_id (pmpkg_t *pkg); + +void pk_backend_pkg (PkBackend *self, pmpkg_t *pkg, + PkInfoEnum info); + +pmpkg_t *pk_backend_find_pkg (PkBackend *self, const gchar *package_id, + GError **error); |