aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal_common.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-10-25 01:26:25 +1000
committerGravatar axel <axel@liljencrantz.se>2005-10-25 01:26:25 +1000
commit277f9b7e607e40ee84ac5c59fcc878d34cb586e2 (patch)
treedba9925930f8f011dda4b603919b3e0e38bea85c /env_universal_common.h
parentf8de9de13de17a4dadab7d2fb1c2094c6a5b105c (diff)
Huge API documentation cleanup
darcs-hash:20051024152625-ac50b-41503feb4ea8d428c5b30c159aaae0c8f7ae46a2.gz
Diffstat (limited to 'env_universal_common.h')
-rw-r--r--env_universal_common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/env_universal_common.h b/env_universal_common.h
index 0832097c..1f669bee 100644
--- a/env_universal_common.h
+++ b/env_universal_common.h
@@ -88,7 +88,13 @@ typedef struct connection
*/
typedef struct
{
+ /**
+ Number of queues that contain this message. Once this reaches zero, the message should be deleted
+ */
int count;
+ /**
+ Message body. The message must be allocated using enough memory to actually contain the message.
+ */
char body[0];
}
message_t;
@@ -136,6 +142,9 @@ wchar_t *env_universal_common_get( const wchar_t *name );
*/
int env_universal_common_get_export( const wchar_t *name );
+/**
+ Add messages about all existing variables to the specified connection
+*/
void enqueue_all( connection_t *c );