packagekit/backends/apt/pk-backend-apt.h
Tom Parker ac4809e980 Separate all of the sqlite caching from apt stuff
The apt backend is now separated into 5 files (vs. 2 before)
- sqlite-pkg-cache.{cc,h}
	Generic sqlite cache searching and initialisation
	Can possibly be folded into the PackageKit core at some
	point in the future.
- apt-build-db.cc
	Apt-specific sqlite cache builder
- pk-backend-apt.{cc,h}
	Everything else
2007-10-10 19:54:53 +02:00

31 lines
1.0 KiB
C

#ifndef PK_BACKEND_APT
#define PK_BACKEND_APT
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
*
* Copyright (C) 2007 Tom Parker <palfrey@tevp.net>
*
* 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.
*/
#include <sqlite3.h>
#include <pk-backend.h>
void apt_build_db(PkBackend * backend, sqlite3 *db);
#endif