2022-06-26 18:26:22 -05:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
|
2009-11-14 09:29:16 -06:00
|
|
|
/***************************************************************************
|
|
|
|
* Copyright (C) 2005 by Dominic Rath <Dominic.Rath@gmx.de> *
|
|
|
|
* Copyright (C) 2009 by Zachary T Welch <zw@superlucidity.net> *
|
|
|
|
***************************************************************************/
|
|
|
|
|
2015-09-21 14:07:46 -05:00
|
|
|
#ifndef OPENOCD_OPENOCD_H
|
|
|
|
#define OPENOCD_OPENOCD_H
|
2009-11-14 09:29:16 -06:00
|
|
|
|
2012-01-27 10:44:06 -06:00
|
|
|
/**
|
2009-11-14 09:29:16 -06:00
|
|
|
* Different applications can define this entry point to override
|
|
|
|
* the default openocd main function. On most systems, this will be
|
|
|
|
* defined in src/openocd.c.
|
|
|
|
* @param argc normally passed from main()
|
|
|
|
* @param argv normally passed from main()
|
|
|
|
* @returns return code for main()
|
|
|
|
*/
|
|
|
|
int openocd_main(int argc, char *argv[]);
|
|
|
|
|
2015-09-21 14:07:46 -05:00
|
|
|
#endif /* OPENOCD_OPENOCD_H */
|