diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-06-15 02:44:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-06-15 02:44:19 +0000 |
commit | 9827cc8e21bef6d8e06ba6924dfc8114622647ba (patch) | |
tree | de74c9eb1b5ca0ad92ed558e0489a68ee5c97064 /src/include | |
parent | 8aabcda325071d9a4ba3a26bf2b12570812437fd (diff) | |
download | gnunet-9827cc8e21bef6d8e06ba6924dfc8114622647ba.tar.gz gnunet-9827cc8e21bef6d8e06ba6924dfc8114622647ba.zip |
better support for daemons
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_arm_service.h | 3 | ||||
-rw-r--r-- | src/include/gnunet_protocols.h | 7 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/include/gnunet_arm_service.h b/src/include/gnunet_arm_service.h index 012c27877..5a929a37e 100644 --- a/src/include/gnunet_arm_service.h +++ b/src/include/gnunet_arm_service.h | |||
@@ -51,7 +51,8 @@ extern "C" | |||
51 | * @param cls closure | 51 | * @param cls closure |
52 | * @param success GNUNET_YES if we think the service is running | 52 | * @param success GNUNET_YES if we think the service is running |
53 | * GNUNET_NO if we think the service is stopped | 53 | * GNUNET_NO if we think the service is stopped |
54 | * GNUNET_SYSERR if we think ARM was not running | 54 | * GNUNET_SYSERR if we think ARM was not running or |
55 | * if the service status is unknown | ||
55 | */ | 56 | */ |
56 | typedef void (*GNUNET_ARM_Callback) (void *cls, int success); | 57 | typedef void (*GNUNET_ARM_Callback) (void *cls, int success); |
57 | 58 | ||
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index c86ad83ce..342014ae1 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -95,10 +95,15 @@ extern "C" | |||
95 | 95 | ||
96 | /** | 96 | /** |
97 | * Response from ARM: service is now down. | 97 | * Response from ARM: service is now down. |
98 | * (failed to start it). | 98 | * (failed to start it or shut it down). |
99 | */ | 99 | */ |
100 | #define GNUNET_MESSAGE_TYPE_ARM_IS_DOWN 11 | 100 | #define GNUNET_MESSAGE_TYPE_ARM_IS_DOWN 11 |
101 | 101 | ||
102 | /** | ||
103 | * Response from ARM: service status is unknown. | ||
104 | */ | ||
105 | #define GNUNET_MESSAGE_TYPE_ARM_IS_UNKNOWN 12 | ||
106 | |||
102 | 107 | ||
103 | /** | 108 | /** |
104 | * HELLO message used for communicating peer addresses. | 109 | * HELLO message used for communicating peer addresses. |