1 //
2 //	aegis - project change supervisor
3 //	Copyright (C) 2004, 2006-2008 Peter Miller
4 //
5 //	This program is free software; you can redistribute it and/or modify
6 //	it under the terms of the GNU General Public License as published by
7 //	the Free Software Foundation; either version 3 of the License, or
8 //	(at your option) any later version.
9 //
10 //	This program is distributed in the hope that it will be useful,
11 //	but WITHOUT ANY WARRANTY; without even the implied warranty of
12 //	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 //	GNU General Public License for more details.
14 //
15 //	You should have received a copy of the GNU General Public License
16 //	along with this program. If not, see
17 //	<http://www.gnu.org/licenses/>.
18 //
19 
20 #ifndef LIBAEGIS_CHANGE_SIGNEDOFFBY_H
21 #define LIBAEGIS_CHANGE_SIGNEDOFFBY_H
22 
23 struct user_ty; // forward
24 
25 /**
26   * The change_signed_off_by function is used to append the email of
27   * the given user to the end of the description, using the OSDL DCO
28   * (Signed-off-by) line.  Redundant sign-offs are not inserted.
29   */
30 void change_signed_off_by(change::pointer cp, user_ty::pointer up);
31 
32 /**
33   * The change_signed_off_by_get function is used to get the pconf
34   * setting of the signed_off_by field, or as overridden by the -sob or
35   * -nsob command line options.
36   */
37 bool change_signed_off_by_get(change::pointer cp);
38 
39 #endif // LIBAEGIS_CHANGE_SIGNEDOFFBY_H
40