summaryrefslogtreecommitdiffstats
path: root/guththila/include
diff options
context:
space:
mode:
authorGravatar shankar2010-03-23 05:56:22 +0000
committerGravatar shankar2010-03-23 05:56:22 +0000
commite58fa35ea4989a309b9b392ec97c09ddc9dc54d8 (patch)
tree9f2ad248037954ff38576a3565d5b1779f579aaa /guththila/include
parent6c449d8ae9530baf32b5f29e0c733c2d7299b7bf (diff)
downloadaxis2c-e58fa35ea4989a309b9b392ec97c09ddc9dc54d8.tar.gz
axis2c-e58fa35ea4989a309b9b392ec97c09ddc9dc54d8.tar.bz2
refactoring
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@926468 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'guththila/include')
-rw-r--r--guththila/include/guththila_reader.h25
1 files changed, 15 insertions, 10 deletions
diff --git a/guththila/include/guththila_reader.h b/guththila/include/guththila_reader.h
index cad53a1..657153b 100644
--- a/guththila/include/guththila_reader.h
+++ b/guththila/include/guththila_reader.h
@@ -60,8 +60,9 @@ typedef struct guththila_reader_s
* @param env environment
*/
GUTHTHILA_EXPORT guththila_reader_t * GUTHTHILA_CALL
-guththila_reader_create_for_file(guththila_char_t *filename,
- const axutil_env_t * env);
+guththila_reader_create_for_file(
+ guththila_char_t *filename,
+ const axutil_env_t * env);
/*
* Reading from a call back function.
@@ -70,9 +71,10 @@ guththila_reader_create_for_file(guththila_char_t *filename,
* @param env environment
*/
GUTHTHILA_EXPORT guththila_reader_t * GUTHTHILA_CALL
-guththila_reader_create_for_io(GUTHTHILA_READ_INPUT_CALLBACK
- input_read_callback, void *ctx,
- const axutil_env_t * env);
+guththila_reader_create_for_io(
+ GUTHTHILA_READ_INPUT_CALLBACK input_read_callback,
+ void *ctx,
+ const axutil_env_t * env);
/*
* Reading from memory buffer.
@@ -81,9 +83,10 @@ guththila_reader_create_for_io(GUTHTHILA_READ_INPUT_CALLBACK
* @param env environment
*/
GUTHTHILA_EXPORT guththila_reader_t * GUTHTHILA_CALL
-guththila_reader_create_for_memory(void *buffer,
- int size,
- const axutil_env_t * env);
+guththila_reader_create_for_memory(
+ void *buffer,
+ int size,
+ const axutil_env_t * env);
/*
* Read the specified number of character to the given buffer.
@@ -94,7 +97,8 @@ guththila_reader_create_for_memory(void *buffer,
* @param env environment
* @return number of bytes put in to the buffer. -1 if end of the read.
*/
-GUTHTHILA_EXPORT int GUTHTHILA_CALL guththila_reader_read(
+GUTHTHILA_EXPORT int GUTHTHILA_CALL
+guththila_reader_read(
guththila_reader_t * r,
guththila_char_t * buffer,
int offset,
@@ -106,7 +110,8 @@ GUTHTHILA_EXPORT int GUTHTHILA_CALL guththila_reader_read(
* @param r reader
* @param env environment
*/
-GUTHTHILA_EXPORT void GUTHTHILA_CALL guththila_reader_free(
+GUTHTHILA_EXPORT void GUTHTHILA_CALL
+guththila_reader_free(
guththila_reader_t * r,
const axutil_env_t * env);