A few final changes for the 3.0.6 release
[pacman.git] / lib / libalpm / add.h
blob4cd2e4458ee21d17c9636ceb8d5e9f94d4ac6274
1 /*
2 * add.h
3 *
4 * Copyright (c) 2002-2006 by Judd Vinet <jvinet@zeroflux.org>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
19 * USA.
21 #ifndef _ALPM_ADD_H
22 #define _ALPM_ADD_H
24 #include "db.h"
25 #include "alpm_list.h"
26 #include "trans.h"
28 int _alpm_add_loadtarget(pmtrans_t *trans, pmdb_t *db, char *name);
29 int _alpm_add_prepare(pmtrans_t *trans, pmdb_t *db, alpm_list_t **data);
30 int _alpm_add_commit(pmtrans_t *trans, pmdb_t *db);
32 #endif /* _ALPM_ADD_H */
34 /* vim: set ts=2 sw=2 noet: */