libcharon: Remove unused charon->name
This commit is contained in:
@@ -271,11 +271,6 @@ struct daemon_t {
|
||||
mediation_manager_t *mediation_manager;
|
||||
#endif /* ME */
|
||||
|
||||
/**
|
||||
* Name of the binary that uses the library (used for settings etc.)
|
||||
*/
|
||||
const char *name;
|
||||
|
||||
/**
|
||||
* Initialize the daemon.
|
||||
*
|
||||
@@ -324,12 +319,11 @@ extern daemon_t *charon;
|
||||
* calling initialize().
|
||||
*
|
||||
* libcharon_init() may be called multiple times in a single process, but each
|
||||
* caller should call libcharon_deinit() for each call to libcharon_init().
|
||||
* caller must call libcharon_deinit() for each call to libcharon_init().
|
||||
*
|
||||
* @param name name of the binary that uses the library
|
||||
* @return FALSE if integrity check failed
|
||||
*/
|
||||
bool libcharon_init(const char *name);
|
||||
bool libcharon_init();
|
||||
|
||||
/**
|
||||
* Deinitialize libcharon and destroy the "charon" instance of daemon_t.
|
||||
|
||||
Reference in New Issue
Block a user