aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_arm_service.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-16 16:03:20 +0000
commit16a6919a9f98ee9fa1fee9dd262906c321004a19 (patch)
treee09d4fe5191dc329b3e1b667f2914f8313bcba59 /src/include/gnunet_arm_service.h
parent4d7904c62bb867c44e90b8e9f7cdbb4b283abc44 (diff)
downloadgnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.tar.gz
gnunet-16a6919a9f98ee9fa1fee9dd262906c321004a19.zip
even nicer indentation, thanks to LRN's indent patch
Diffstat (limited to 'src/include/gnunet_arm_service.h')
-rw-r--r--src/include/gnunet_arm_service.h25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/include/gnunet_arm_service.h b/src/include/gnunet_arm_service.h
index 76529ede4..6d52773de 100644
--- a/src/include/gnunet_arm_service.h
+++ b/src/include/gnunet_arm_service.h
@@ -73,9 +73,9 @@ struct GNUNET_ARM_Handle;
73 * @param service service that *this* process is implementing/providing, can be NULL 73 * @param service service that *this* process is implementing/providing, can be NULL
74 * @return context to use for further ARM operations, NULL on error 74 * @return context to use for further ARM operations, NULL on error
75 */ 75 */
76struct GNUNET_ARM_Handle *GNUNET_ARM_connect (const struct 76struct GNUNET_ARM_Handle *
77 GNUNET_CONFIGURATION_Handle *cfg, 77GNUNET_ARM_connect (const struct GNUNET_CONFIGURATION_Handle *cfg,
78 const char *service); 78 const char *service);
79 79
80 80
81/** 81/**
@@ -83,7 +83,8 @@ struct GNUNET_ARM_Handle *GNUNET_ARM_connect (const struct
83 * 83 *
84 * @param h the handle that was being used 84 * @param h the handle that was being used
85 */ 85 */
86void GNUNET_ARM_disconnect (struct GNUNET_ARM_Handle *h); 86void
87GNUNET_ARM_disconnect (struct GNUNET_ARM_Handle *h);
87 88
88 89
89/** 90/**
@@ -104,10 +105,10 @@ void GNUNET_ARM_disconnect (struct GNUNET_ARM_Handle *h);
104 * @param cb callback to invoke when service is ready 105 * @param cb callback to invoke when service is ready
105 * @param cb_cls closure for callback 106 * @param cb_cls closure for callback
106 */ 107 */
107void GNUNET_ARM_start_service (struct GNUNET_ARM_Handle *h, 108void
108 const char *service_name, 109GNUNET_ARM_start_service (struct GNUNET_ARM_Handle *h, const char *service_name,
109 struct GNUNET_TIME_Relative timeout, 110 struct GNUNET_TIME_Relative timeout,
110 GNUNET_ARM_Callback cb, void *cb_cls); 111 GNUNET_ARM_Callback cb, void *cb_cls);
111 112
112 113
113/** 114/**
@@ -121,10 +122,10 @@ void GNUNET_ARM_start_service (struct GNUNET_ARM_Handle *h,
121 * @param cb callback to invoke when service is ready 122 * @param cb callback to invoke when service is ready
122 * @param cb_cls closure for callback 123 * @param cb_cls closure for callback
123 */ 124 */
124void GNUNET_ARM_stop_service (struct GNUNET_ARM_Handle *h, 125void
125 const char *service_name, 126GNUNET_ARM_stop_service (struct GNUNET_ARM_Handle *h, const char *service_name,
126 struct GNUNET_TIME_Relative timeout, 127 struct GNUNET_TIME_Relative timeout,
127 GNUNET_ARM_Callback cb, void *cb_cls); 128 GNUNET_ARM_Callback cb, void *cb_cls);
128 129
129 130
130 131