186d7f5d3SJohn Marino /* Declarations for update.c. 286d7f5d3SJohn Marino 386d7f5d3SJohn Marino This program is free software; you can redistribute it and/or modify 486d7f5d3SJohn Marino it under the terms of the GNU General Public License as published by 586d7f5d3SJohn Marino the Free Software Foundation; either version 2, or (at your option) 686d7f5d3SJohn Marino any later version. 786d7f5d3SJohn Marino 886d7f5d3SJohn Marino This program is distributed in the hope that it will be useful, 986d7f5d3SJohn Marino but WITHOUT ANY WARRANTY; without even the implied warranty of 1086d7f5d3SJohn Marino MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1186d7f5d3SJohn Marino GNU General Public License for more details. */ 1286d7f5d3SJohn Marino 1386d7f5d3SJohn Marino int do_update (int argc, char *argv[], char *xoptions, char *xtag, 1486d7f5d3SJohn Marino char *xdate, int xforce, int local, int xbuild, 1586d7f5d3SJohn Marino int xaflag, int xprune, int xpipeout, int which, 1686d7f5d3SJohn Marino char *xjoin_rev1, char *xjoin_date1, 1786d7f5d3SJohn Marino char *xjoin_rev2, char *xjoin_date2, 1886d7f5d3SJohn Marino char *preload_update_dir, int xdotemplate, 1986d7f5d3SJohn Marino char *repository); 2086d7f5d3SJohn Marino int joining (void); 2186d7f5d3SJohn Marino extern int isemptydir (const char *dir, int might_not_exist); 22