aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal_common.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2011-12-26 19:18:46 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2011-12-26 19:18:46 -0800
commit8d2f107d61a8b0e099ab9a59b8a32c236da5a5fc (patch)
tree89f718ab74f8400332534aee237c6f925348f05c /env_universal_common.h
parent3f16ace6784caab54fb054836ee93902e9701913 (diff)
Some changes to migrate towards C++ and a multithreaded model
Diffstat (limited to 'env_universal_common.h')
-rw-r--r--env_universal_common.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/env_universal_common.h b/env_universal_common.h
index ed56b415..f85b51fe 100644
--- a/env_universal_common.h
+++ b/env_universal_common.h
@@ -76,9 +76,9 @@ typedef struct connection
newline is encountered, the buffer is parsed and cleared.
*/
buffer_t input;
-
+
/**
- The read buffer.
+ The read buffer.
*/
char buffer[ENV_UNIVERSAL_BUFFER_SIZE];
@@ -86,12 +86,12 @@ typedef struct connection
Number of bytes that have already been consumed.
*/
int buffer_consumed;
-
+
/**
- Number of bytes that have been read into the buffer.
+ Number of bytes that have been read into the buffer.
*/
int buffer_used;
-
+
/**
Link to the next connection
@@ -103,7 +103,7 @@ typedef struct connection
/**
A struct representing a message to be sent between client and server
*/
-typedef struct
+typedef struct
{
/**
Number of queues that contain this message. Once this reaches zero, the message should be deleted
@@ -160,10 +160,10 @@ void env_universal_common_get_names( array_list_t *l,
Do not call this function. Create a message to do it. This function
is only to be used when fishd is dead.
*/
-void env_universal_common_set( const wchar_t *key, const wchar_t *val, int export );
+void env_universal_common_set( const wchar_t *key, const wchar_t *val, int exportv );
/**
- Remove the specified variable.
+ Remove the specified variable.
This function operate agains the local copy of all universal
variables, it does not communicate with any other process.