diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-12-08 15:45:10 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-12-08 15:45:10 +0000 |
commit | cbd09ba94fde1331cb4fe6ea29f5f164adc8db25 (patch) | |
tree | 7d6d205b2f0fbaf894770334733c589c34fb4864 /src/arm/arm.h | |
parent | 7ecae6c47bc658cce69de75c1addb0c6db75ced9 (diff) | |
download | gnunet-cbd09ba94fde1331cb4fe6ea29f5f164adc8db25.tar.gz gnunet-cbd09ba94fde1331cb4fe6ea29f5f164adc8db25.zip |
major rewrite of ARM service and a bit of the ARM IPC to take advantage of the simplifications possible now that we no longer intercept traffic; the new code in particular is better at communicating what exactly ARM was doing in response to requests. A major change is that gnunet-arm -i/-k now only impacts if a service is running by-default, on-demand starting is no longer impacted, option -t from gnunet-arm was removed
Diffstat (limited to 'src/arm/arm.h')
-rw-r--r-- | src/arm/arm.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/arm/arm.h b/src/arm/arm.h index f20562c20..615079b7c 100644 --- a/src/arm/arm.h +++ b/src/arm/arm.h | |||
@@ -33,4 +33,23 @@ | |||
33 | */ | 33 | */ |
34 | #define DEBUG_ARM GNUNET_EXTRA_LOGGING | 34 | #define DEBUG_ARM GNUNET_EXTRA_LOGGING |
35 | 35 | ||
36 | |||
37 | /** | ||
38 | * Reply from ARM to client. | ||
39 | */ | ||
40 | struct GNUNET_ARM_ResultMessage | ||
41 | { | ||
42 | |||
43 | /** | ||
44 | * Reply to client, of type is GNUNET_MESSAGE_TYPE_ARM_RESULT. | ||
45 | */ | ||
46 | struct GNUNET_MessageHeader header; | ||
47 | |||
48 | /** | ||
49 | * Status from the 'enum GNUNET_ARM_ProcessStatus' | ||
50 | */ | ||
51 | uint32_t status; | ||
52 | }; | ||
53 | |||
54 | |||
36 | #endif | 55 | #endif |