summaryrefslogtreecommitdiff
path: root/src/lib/openjpip/target_manager.h
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2016-01-25 23:22:06 +0100
committerAntonin Descampe <antonin@gmail.com>2016-01-25 23:22:06 +0100
commit0febbff19e05cb1a6c2613eee76ad46a669c96cd (patch)
treeb6442d01348e2ba6404d0fd6abcc4eb6d6cc1390 /src/lib/openjpip/target_manager.h
parentbede1568b197021bb576b935422af6c1d0a79e21 (diff)
processed all c/h files through astyle with opj_astyle.cfgcodingstyle
Diffstat (limited to 'src/lib/openjpip/target_manager.h')
-rw-r--r--src/lib/openjpip/target_manager.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/lib/openjpip/target_manager.h b/src/lib/openjpip/target_manager.h
index 561510f5..69a30fd9 100644
--- a/src/lib/openjpip/target_manager.h
+++ b/src/lib/openjpip/target_manager.h
@@ -37,26 +37,26 @@
#define MAX_LENOFTID 30
/** target parameters*/
-typedef struct target_param{
- char tid[MAX_LENOFTID]; /**< target identifier*/
- char *targetname; /**< local file path or URL ( URL is suported only with SERVER mode)*/
- int fd; /**< file descriptor*/
+typedef struct target_param {
+ char tid[MAX_LENOFTID]; /**< target identifier*/
+ char *targetname; /**< local file path or URL ( URL is suported only with SERVER mode)*/
+ int fd; /**< file descriptor*/
#ifdef SERVER
- char *tmpfname; /**< temporal file name to download a remote target file*/
+ char *tmpfname; /**< temporal file name to download a remote target file*/
#endif
- int csn; /**< codestream number */
- index_param_t *codeidx; /**< index information of codestream */
- int num_of_use; /**< numbers of sessions referring to this target */
- OPJ_BOOL jppstream; /**< if this target can return JPP-stream */
- OPJ_BOOL jptstream; /**< if this target can return JPP-stream */
- struct target_param *next; /**< pointer to the next target */
+ int csn; /**< codestream number */
+ index_param_t *codeidx; /**< index information of codestream */
+ int num_of_use; /**< numbers of sessions referring to this target */
+ OPJ_BOOL jppstream; /**< if this target can return JPP-stream */
+ OPJ_BOOL jptstream; /**< if this target can return JPP-stream */
+ struct target_param *next; /**< pointer to the next target */
} target_param_t;
/** Target list parameters*/
-typedef struct targetlist_param{
- target_param_t *first; /**< first target pointer of the list*/
- target_param_t *last; /**< last target pointer of the list*/
+typedef struct targetlist_param {
+ target_param_t *first; /**< first target pointer of the list*/
+ target_param_t *last; /**< last target pointer of the list*/
} targetlist_param_t;