113571821Stholo /* Interface to "cvs edit", "cvs watch on", and related features 213571821Stholo 313571821Stholo This program is free software; you can redistribute it and/or modify 413571821Stholo it under the terms of the GNU General Public License as published by 513571821Stholo the Free Software Foundation; either version 2, or (at your option) 613571821Stholo any later version. 713571821Stholo 813571821Stholo This program is distributed in the hope that it will be useful, 913571821Stholo but WITHOUT ANY WARRANTY; without even the implied warranty of 1013571821Stholo MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11*461cc63eStholo GNU General Public License for more details. */ 1213571821Stholo 1313571821Stholo extern int watch_on PROTO ((int argc, char **argv)); 1413571821Stholo extern int watch_off PROTO ((int argc, char **argv)); 1513571821Stholo 16c26070a5Stholo #ifdef CLIENT_SUPPORT 1713571821Stholo /* Check to see if any notifications are sitting around in need of being 1813571821Stholo sent. These are the notifications stored in CVSADM_NOTIFY (edit,unedit); 1913571821Stholo commit calls notify_do directly. */ 2013571821Stholo extern void notify_check PROTO ((char *repository, char *update_dir)); 21c26070a5Stholo #endif /* CLIENT_SUPPORT */ 2213571821Stholo 2313571821Stholo /* Issue a notification for file FILENAME. TYPE is 'E' for edit, 'U' 2413571821Stholo for unedit, and 'C' for commit. WHO is the user currently running. 2513571821Stholo For TYPE 'E', VAL is the time+host+directory data which goes in 2613571821Stholo _editors, and WATCHES is zero or more of E,U,C, in that order, to specify 2713571821Stholo what kinds of temporary watches to set. */ 2813571821Stholo extern void notify_do PROTO ((int type, char *filename, char *who, 2913571821Stholo char *val, char *watches, char *repository)); 3013571821Stholo 3113571821Stholo /* Set attributes to reflect the fact that EDITOR is editing FILENAME. 3213571821Stholo VAL is time+host+directory, or NULL if we are to say that EDITOR is 3313571821Stholo *not* editing FILENAME. */ 3413571821Stholo extern void editor_set PROTO ((char *filename, char *editor, char *val)); 3513571821Stholo 3613571821Stholo /* Take note of the fact that FILE is up to date (this munges CVS/Base; 3713571821Stholo processing of CVS/Entries is done separately). */ 3813571821Stholo extern void mark_up_to_date PROTO ((char *file)); 39