packagekit/backends/smart/pk-backend-smart.c

57 lines
2.2 KiB
C
Raw Normal View History

2007-10-20 20:24:14 -07:00
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2007 Richard Hughes <richard@hughsie.com>
* Copyright (C) 2007 James Bowes <jbowes@redhat.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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
2007-10-23 15:20:46 -07:00
#include <pk-backend.h>
#include <pk-backend-python.h>
2007-10-22 08:55:08 -07:00
2007-10-20 20:24:14 -07:00
PK_BACKEND_OPTIONS (
"SMART", /* description */
"James Bowes <jbowes@dangerouslyinc.com>", /* author */
NULL, /* initalize */
NULL, /* destroy */
NULL, /* get_groups */
NULL, /* get_filters */
NULL, /* cancel */
2007-10-30 09:24:40 -07:00
pk_backend_python_get_depends, /* get_depends */
2007-10-25 04:45:29 -07:00
pk_backend_python_get_description, /* get_description */
2007-10-30 05:59:52 -07:00
pk_backend_python_get_files, /* get_files */
2007-10-20 20:24:14 -07:00
NULL, /* get_requires */
NULL, /* get_update_detail */
2007-10-24 08:13:04 -07:00
pk_backend_python_get_updates, /* get_updates */
2007-10-23 21:09:39 -07:00
pk_backend_python_install_package, /* install_package */
2007-11-01 14:44:15 -07:00
pk_backend_python_install_file, /* install_file */
2007-10-24 13:32:56 -07:00
pk_backend_python_refresh_cache, /* refresh_cache */
2007-10-23 15:20:46 -07:00
pk_backend_python_remove_package, /* remove_package */
pk_backend_python_resolve, /* resolve */
2007-10-20 20:24:14 -07:00
NULL, /* rollback */
2007-11-02 14:33:15 -07:00
pk_backend_python_search_details, /* search_details */
2007-10-20 20:24:14 -07:00
NULL, /* search_file */
NULL, /* search_group */
2007-10-23 15:20:46 -07:00
pk_backend_python_search_name, /* search_name */
2007-10-24 13:43:52 -07:00
pk_backend_python_update_package, /* update_package */
2007-10-23 21:21:35 -07:00
pk_backend_python_update_system, /* update_system */
2007-10-25 14:12:46 -07:00
pk_backend_python_get_repo_list, /* get_repo_list */
2007-10-25 19:05:07 -07:00
pk_backend_python_repo_enable, /* repo_enable */
2007-10-20 20:24:14 -07:00
NULL /* repo_set_data */
);