aboutsummaryrefslogtreecommitdiffhomepage
path: root/env_universal.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-18 16:30:30 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-11-18 16:30:30 -0800
commit9992b8eb0e3366ff8a3948aa0b66a19c3c12c737 (patch)
tree6dda0fef85812016fbba9ea067c9d586092b506d /env_universal.h
parentbab69f26724028d16054a3daf5c78aad7c67bb2d (diff)
Apply new indentation, brace, and whitespace style
Diffstat (limited to 'env_universal.h')
-rw-r--r--env_universal.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/env_universal.h b/env_universal.h
index 8c1b3925..3e91bfdb 100644
--- a/env_universal.h
+++ b/env_universal.h
@@ -17,10 +17,10 @@ extern connection_t env_universal_server;
/**
Initialize the envuni library
*/
-void env_universal_init( wchar_t * p,
+void env_universal_init(wchar_t * p,
wchar_t *u,
void (*sf)(),
- void (*cb)( fish_message_type_t type, const wchar_t *name, const wchar_t *val ));
+ void (*cb)(fish_message_type_t type, const wchar_t *name, const wchar_t *val));
/**
Free memory used by envuni
*/
@@ -29,24 +29,24 @@ void env_universal_destroy();
/**
Get the value of a universal variable
*/
-wchar_t *env_universal_get( const wcstring &name );
+wchar_t *env_universal_get(const wcstring &name);
/**
Get the export flag of the variable with the specified
name. Returns 0 if the variable doesn't exist.
*/
-int env_universal_get_export( const wcstring &name );
+int env_universal_get_export(const wcstring &name);
/**
Set the value of a universal variable
*/
-void env_universal_set( const wcstring &name, const wcstring &val, int exportv );
+void env_universal_set(const wcstring &name, const wcstring &val, int exportv);
/**
Erase a universal variable
\return zero if the variable existed, and non-zero if the variable did not exist
*/
-int env_universal_remove( const wchar_t *name );
+int env_universal_remove(const wchar_t *name);
/**
Read all available messages from the server.
@@ -60,9 +60,9 @@ int env_universal_read_all();
\param show_exported whether exported variables should be shown
\param show_unexported whether unexported variables should be shown
*/
-void env_universal_get_names2( wcstring_list_t &list,
- int show_exported,
- int show_unexported );
+void env_universal_get_names2(wcstring_list_t &list,
+ int show_exported,
+ int show_unexported);
/**
Synchronize with fishd