aboutsummaryrefslogtreecommitdiff
path: root/type
diff options
context:
space:
mode:
Diffstat (limited to 'type')
-rw-r--r--type/vos_TStmtSet.h1
-rw-r--r--type/vos_TVos.h8
2 files changed, 8 insertions, 1 deletions
diff --git a/type/vos_TStmtSet.h b/type/vos_TStmtSet.h
index 849a370..59275bf 100644
--- a/type/vos_TStmtSet.h
+++ b/type/vos_TStmtSet.h
@@ -7,6 +7,7 @@ enum _set_idx {
SET_PROC_CMP_CASE_NOTSENSITIVE,
SET_PROC_MAX,
SET_PROC_MAX_ROW,
+ SET_PROC_TMP_DIR,
N_SET
};
diff --git a/type/vos_TVos.h b/type/vos_TVos.h
index a22ff65..8e4a9a4 100644
--- a/type/vos_TVos.h
+++ b/type/vos_TVos.h
@@ -1,6 +1,9 @@
#ifndef _VOS_T_H
#define _VOS_T_H
+#include <pthread.h>
+#include "vos_TLL.h"
+
/**
* @desc:
* - DBG_SCRIPT : don't process the script
@@ -31,12 +34,15 @@ struct Vos {
int e_nparm0; /* first error parameter for number */
int e_nparm1; /* second error parameter for number */
int proc_cmp_case; /* use compare case sensitive ? */
+ int proc_max; /* maximum process for sort */
unsigned long file_buf_size; /* size of buffer for file */
- unsigned long proc_max; /* maximum process for sort */
unsigned long proc_max_row; /* maximum row for each process */
+ pthread_mutex_t proc_tmp_dir_lock;
char *script; /* vos script */
char *e_sparm0; /* first error parameter (string) */
char *e_sparm1; /* second error parameter (string) */
+ struct LL *proc_tmp_dir; /* process temporary directories */
+ struct LL *p_proc_tmp_dir;
};
#endif