srecord 1.65.0
 
Loading...
Searching...
No Matches
progname.h
Go to the documentation of this file.
1//
2// srecord - manipulate eprom load files
3// Copyright (C) 1998, 1999, 2002, 2003, 2006-2008, 2010 Peter Miller
4//
5// This program is free software; you can redistribute it and/or modify
6// it under the terms of the GNU Lesser 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 Lesser General Public License for more details.
14//
15// You should have received a copy of the GNU Lesser General Public License
16// along with this program. If not, see
17// <http://www.gnu.org/licenses/>.
18//
19
20#ifndef SRECORD_PROGNAME_H
21#define SRECORD_PROGNAME_H
22
23namespace srecord
24{
25
26/**
27 * The progname_set function is used by main() to set the name of the
28 * currently executing programme.
29 */
30void progname_set(char *);
31
32/**
33 * The progname_get function is used to retrieve the name of the
34 * currently executing programme. Used by error messages.
35 */
36const char *progname_get();
37
38};
39
40#endif // SRECORD_PROGNAME_H
const char * progname_get()
The progname_get function is used to retrieve the name of the currently executing programme.
void progname_set(char *)
The progname_set function is used by main() to set the name of the currently executing programme.