lib/src/vmstime.h File Reference

Go to the source code of this file.

Defines

#define __VMSTIME__   loaded
#define ISDELTA(x)   (x[7] & 0x80)
#define VMSTIME_ZERO   {0,0,0,0,0,0,0,0}
#define SS__NORMAL   1
#define SS__IVTIME   388
#define LIB__NORMAL   1409025
#define LIB__IVTIME   1410012
#define LIB__ONEDELTIM   1410020
#define LIB__ABSTIMREQ   1410044
#define LIB__DELTIMREQ   1410052
#define LIB__INVOPER   1410060
#define LIB_K_MONTH_OF_YEAR   1
#define LIB_K_DAY_OF_YEAR   2
#define LIB_K_HOUR_OF_YEAR   3
#define LIB_K_MINUTE_OF_YEAR   4
#define LIB_K_SECOND_OF_YEAR   5
#define LIB_K_DAY_OF_MONTH   6
#define LIB_K_HOUR_OF_MONTH   7
#define LIB_K_MINUTE_OF_MONTH   8
#define LIB_K_SECOND_OF_MONTH   9
#define LIB_K_DAY_OF_WEEK   10
#define LIB_K_HOUR_OF_WEEK   11
#define LIB_K_MINUTE_OF_WEEK   12
#define LIB_K_SECOND_OF_WEEK   13
#define LIB_K_HOUR_OF_DAY   14
#define LIB_K_MINUTE_OF_DAY   15
#define LIB_K_SECOND_OF_DAY   16
#define LIB_K_MINUTE_OF_HOUR   17
#define LIB_K_SECOND_OF_HOUR   18
#define LIB_K_SECOND_OF_MINUTE   19
#define LIB_K_JULIAN_DATE   20
#define LIB_K_DELTA_WEEKS   21
#define LIB_K_DELTA_DAYS   22
#define LIB_K_DELTA_HOURS   23
#define LIB_K_DELTA_MINUTES   24
#define LIB_K_DELTA_SECONDS   25
#define LIB_K_DELTA_WEEKS_F   26
#define LIB_K_DELTA_DAYS_F   27
#define LIB_K_DELTA_HOURS_F   28
#define LIB_K_DELTA_MINUTES_F   29
#define LIB_K_DELTA_SECONDS_F   30
#define LIB_K_MAX_OPERATION   31
#define sys_asctim   sys_asctim
#define sys_bintim   sys_bintim
#define sys_gettim   sys_gettim
#define sys_numtim   sys_numtim
#define lib_add_times   lib_add_times
#define lib_addx   lib_addx
#define lib_cvt_from_internal_time   lib_cvt_from_internal_time
#define lib_cvt_to_internal_time   lib_cvt_to_internal_time
#define lib_cvt_vectim   lib_cvt_vectim
#define lib_day   lib_day
#define lib_day_of_week   lib_day_of_week
#define lib_mult_delta_time   lib_mult_delta_time
#define lib_sub_times   lib_sub_times
#define lib_subx   lib_subx
#define LIB_K_MONTH_OF_YEAR   LIB_K_MONTH_OF_YEAR
#define LIB_K_DAY_OF_YEAR   LIB_K_DAY_OF_YEAR
#define LIB_K_HOUR_OF_YEAR   LIB_K_HOUR_OF_YEAR
#define LIB_K_MINUTE_OF_YEAR   LIB_K_MINUTE_OF_YEAR
#define LIB_K_SECOND_OF_YEAR   LIB_K_SECOND_OF_YEAR
#define LIB_K_DAY_OF_MONTH   LIB_K_DAY_OF_MONTH
#define LIB_K_HOUR_OF_MONTH   LIB_K_HOUR_OF_MONTH
#define LIB_K_MINUTE_OF_MONTH   LIB_K_MINUTE_OF_MONTH
#define LIB_K_SECOND_OF_MONTH   LIB_K_SECOND_OF_MONTH
#define LIB_K_DAY_OF_WEEK   LIB_K_DAY_OF_WEEK
#define LIB_K_HOUR_OF_WEEK   LIB_K_HOUR_OF_WEEK
#define LIB_K_MINUTE_OF_WEEK   LIB_K_MINUTE_OF_WEEK
#define LIB_K_SECOND_OF_WEEK   LIB_K_SECOND_OF_WEEK
#define LIB_K_HOUR_OF_DAY   LIB_K_HOUR_OF_DAY
#define LIB_K_MINUTE_OF_DAY   LIB_K_MINUTE_OF_DAY
#define LIB_K_SECOND_OF_DAY   LIB_K_SECOND_OF_DAY
#define LIB_K_MINUTE_OF_HOUR   LIB_K_MINUTE_OF_HOUR
#define LIB_K_SECOND_OF_HOUR   LIB_K_SECOND_OF_HOUR
#define LIB_K_SECOND_OF_MINUTE   LIB_K_SECOND_OF_MINUTE
#define LIB_K_JULIAN_DATE   LIB_K_JULIAN_DATE
#define LIB_K_DELTA_WEEKS   LIB_K_DELTA_WEEKS
#define LIB_K_DELTA_DAYS   LIB_K_DELTA_DAYS
#define LIB_K_DELTA_HOURS   LIB_K_DELTA_HOURS
#define LIB_K_DELTA_MINUTES   LIB_K_DELTA_MINUTES
#define LIB_K_DELTA_SECONDS   LIB_K_DELTA_SECONDS
#define LIB_K_DELTA_WEEKS_F   LIB_K_DELTA_WEEKS_F
#define LIB_K_DELTA_DAYS_F   LIB_K_DELTA_DAYS_F
#define LIB_K_DELTA_HOURS_F   LIB_K_DELTA_HOURS_F
#define LIB_K_DELTA_MINUTES_F   LIB_K_DELTA_MINUTES_F
#define LIB_K_DELTA_SECONDS_F   LIB_K_DELTA_SECONDS_F
#define LIB_K_MAX_OPERATION   LIB_K_MAX_OPERATION

Typedefs

typedef unsigned char VMSTIME [8]
typedef unsigned char * pVMSTIME

Functions

unsigned sys_gettim (VMSTIME timadr)
unsigned sys_numtim (unsigned short timvec[7], VMSTIME timadr)
unsigned sys_bintim (struct dsc_descriptor *timbuf, VMSTIME timadr)
unsigned sys_asctim (unsigned short *timlen, struct dsc_descriptor *timbuf, VMSTIME timadr, unsigned cvtflg)
unsigned lib_add_times (VMSTIME time1, VMSTIME time2, VMSTIME result)
unsigned lib_addx (void *addant, void *addee, void *result, int *lenadd)
unsigned lib_cvt_from_internal_time (unsigned *operation, unsigned *result, VMSTIME input_time)
unsigned lib_cvt_to_internal_time (unsigned *operation, int *input, VMSTIME result)
unsigned lib_cvt_vectim (unsigned short timbuf[7], VMSTIME timadr)
unsigned lib_day (int *days, VMSTIME timadr, int *day_time)
unsigned lib_day_of_week (VMSTIME timadr, unsigned *weekday)
unsigned lib_mult_delta_time (int *multiple, VMSTIME timadr)
unsigned lib_subx (void *subant, void *subee, void *result, int *lenadd)
unsigned lib_sub_times (VMSTIME time1, VMSTIME time2, VMSTIME result)
unsigned vmstime_from_nt (VMSTIME nt_time, VMSTIME vms_time)
unsigned vmstime_to_nt (VMSTIME vms_time, VMSTIME nt_time)
int vmstime_compare (VMSTIME time1, VMSTIME time2)


Define Documentation

#define __VMSTIME__   loaded

Definition at line 22 of file vmstime.h.

#define ISDELTA (  )     (x[7] & 0x80)

Definition at line 40 of file vmstime.h.

#define LIB__ABSTIMREQ   1410044

Definition at line 53 of file vmstime.h.

#define LIB__DELTIMREQ   1410052

Definition at line 54 of file vmstime.h.

#define LIB__INVOPER   1410060

Definition at line 55 of file vmstime.h.

#define LIB__IVTIME   1410012

Definition at line 51 of file vmstime.h.

#define LIB__NORMAL   1409025

Definition at line 50 of file vmstime.h.

#define LIB__ONEDELTIM   1410020

Definition at line 52 of file vmstime.h.

#define lib_add_times   lib_add_times

Definition at line 112 of file vmstime.h.

#define lib_addx   lib_addx

Definition at line 113 of file vmstime.h.

#define lib_cvt_from_internal_time   lib_cvt_from_internal_time

Definition at line 114 of file vmstime.h.

#define lib_cvt_to_internal_time   lib_cvt_to_internal_time

Definition at line 115 of file vmstime.h.

#define lib_cvt_vectim   lib_cvt_vectim

Definition at line 116 of file vmstime.h.

Referenced by exe_bintim().

#define lib_day   lib_day

Definition at line 117 of file vmstime.h.

Referenced by exe_numtim().

#define lib_day_of_week   lib_day_of_week

Definition at line 118 of file vmstime.h.

#define LIB_K_DAY_OF_MONTH   LIB_K_DAY_OF_MONTH

Definition at line 128 of file vmstime.h.

#define LIB_K_DAY_OF_MONTH   6

Definition at line 128 of file vmstime.h.

#define LIB_K_DAY_OF_WEEK   LIB_K_DAY_OF_WEEK

Definition at line 132 of file vmstime.h.

#define LIB_K_DAY_OF_WEEK   10

Definition at line 132 of file vmstime.h.

#define LIB_K_DAY_OF_YEAR   LIB_K_DAY_OF_YEAR

Definition at line 124 of file vmstime.h.

#define LIB_K_DAY_OF_YEAR   2

Definition at line 124 of file vmstime.h.

#define LIB_K_DELTA_DAYS   LIB_K_DELTA_DAYS

Definition at line 144 of file vmstime.h.

#define LIB_K_DELTA_DAYS   22

Definition at line 144 of file vmstime.h.

#define LIB_K_DELTA_DAYS_F   LIB_K_DELTA_DAYS_F

Definition at line 149 of file vmstime.h.

#define LIB_K_DELTA_DAYS_F   27

Definition at line 149 of file vmstime.h.

#define LIB_K_DELTA_HOURS   LIB_K_DELTA_HOURS

Definition at line 145 of file vmstime.h.

#define LIB_K_DELTA_HOURS   23

Definition at line 145 of file vmstime.h.

#define LIB_K_DELTA_HOURS_F   LIB_K_DELTA_HOURS_F

Definition at line 150 of file vmstime.h.

#define LIB_K_DELTA_HOURS_F   28

Definition at line 150 of file vmstime.h.

#define LIB_K_DELTA_MINUTES   LIB_K_DELTA_MINUTES

Definition at line 146 of file vmstime.h.

#define LIB_K_DELTA_MINUTES   24

Definition at line 146 of file vmstime.h.

#define LIB_K_DELTA_MINUTES_F   LIB_K_DELTA_MINUTES_F

Definition at line 151 of file vmstime.h.

#define LIB_K_DELTA_MINUTES_F   29

Definition at line 151 of file vmstime.h.

#define LIB_K_DELTA_SECONDS   LIB_K_DELTA_SECONDS

Definition at line 147 of file vmstime.h.

#define LIB_K_DELTA_SECONDS   25

Definition at line 147 of file vmstime.h.

#define LIB_K_DELTA_SECONDS_F   LIB_K_DELTA_SECONDS_F

Definition at line 152 of file vmstime.h.

#define LIB_K_DELTA_SECONDS_F   30

Definition at line 152 of file vmstime.h.

#define LIB_K_DELTA_WEEKS   LIB_K_DELTA_WEEKS

Definition at line 143 of file vmstime.h.

#define LIB_K_DELTA_WEEKS   21

Definition at line 143 of file vmstime.h.

#define LIB_K_DELTA_WEEKS_F   LIB_K_DELTA_WEEKS_F

Definition at line 148 of file vmstime.h.

#define LIB_K_DELTA_WEEKS_F   26

Definition at line 148 of file vmstime.h.

#define LIB_K_HOUR_OF_DAY   LIB_K_HOUR_OF_DAY

Definition at line 136 of file vmstime.h.

#define LIB_K_HOUR_OF_DAY   14

Definition at line 136 of file vmstime.h.

#define LIB_K_HOUR_OF_MONTH   LIB_K_HOUR_OF_MONTH

Definition at line 129 of file vmstime.h.

#define LIB_K_HOUR_OF_MONTH   7

Definition at line 129 of file vmstime.h.

#define LIB_K_HOUR_OF_WEEK   LIB_K_HOUR_OF_WEEK

Definition at line 133 of file vmstime.h.

#define LIB_K_HOUR_OF_WEEK   11

Definition at line 133 of file vmstime.h.

#define LIB_K_HOUR_OF_YEAR   LIB_K_HOUR_OF_YEAR

Definition at line 125 of file vmstime.h.

#define LIB_K_HOUR_OF_YEAR   3

Definition at line 125 of file vmstime.h.

#define LIB_K_JULIAN_DATE   LIB_K_JULIAN_DATE

Definition at line 142 of file vmstime.h.

#define LIB_K_JULIAN_DATE   20

Definition at line 142 of file vmstime.h.

#define LIB_K_MAX_OPERATION   LIB_K_MAX_OPERATION

Definition at line 153 of file vmstime.h.

#define LIB_K_MAX_OPERATION   31

Definition at line 153 of file vmstime.h.

#define LIB_K_MINUTE_OF_DAY   LIB_K_MINUTE_OF_DAY

Definition at line 137 of file vmstime.h.

#define LIB_K_MINUTE_OF_DAY   15

Definition at line 137 of file vmstime.h.

#define LIB_K_MINUTE_OF_HOUR   LIB_K_MINUTE_OF_HOUR

Definition at line 139 of file vmstime.h.

#define LIB_K_MINUTE_OF_HOUR   17

Definition at line 139 of file vmstime.h.

#define LIB_K_MINUTE_OF_MONTH   LIB_K_MINUTE_OF_MONTH

Definition at line 130 of file vmstime.h.

#define LIB_K_MINUTE_OF_MONTH   8

Definition at line 130 of file vmstime.h.

#define LIB_K_MINUTE_OF_WEEK   LIB_K_MINUTE_OF_WEEK

Definition at line 134 of file vmstime.h.

#define LIB_K_MINUTE_OF_WEEK   12

Definition at line 134 of file vmstime.h.

#define LIB_K_MINUTE_OF_YEAR   LIB_K_MINUTE_OF_YEAR

Definition at line 126 of file vmstime.h.

#define LIB_K_MINUTE_OF_YEAR   4

Definition at line 126 of file vmstime.h.

#define LIB_K_MONTH_OF_YEAR   LIB_K_MONTH_OF_YEAR

Definition at line 123 of file vmstime.h.

#define LIB_K_MONTH_OF_YEAR   1

Definition at line 123 of file vmstime.h.

#define LIB_K_SECOND_OF_DAY   LIB_K_SECOND_OF_DAY

Definition at line 138 of file vmstime.h.

#define LIB_K_SECOND_OF_DAY   16

Definition at line 138 of file vmstime.h.

#define LIB_K_SECOND_OF_HOUR   LIB_K_SECOND_OF_HOUR

Definition at line 140 of file vmstime.h.

#define LIB_K_SECOND_OF_HOUR   18

Definition at line 140 of file vmstime.h.

#define LIB_K_SECOND_OF_MINUTE   LIB_K_SECOND_OF_MINUTE

Definition at line 141 of file vmstime.h.

#define LIB_K_SECOND_OF_MINUTE   19

Definition at line 141 of file vmstime.h.

#define LIB_K_SECOND_OF_MONTH   LIB_K_SECOND_OF_MONTH

Definition at line 131 of file vmstime.h.

#define LIB_K_SECOND_OF_MONTH   9

Definition at line 131 of file vmstime.h.

#define LIB_K_SECOND_OF_WEEK   LIB_K_SECOND_OF_WEEK

Definition at line 135 of file vmstime.h.

#define LIB_K_SECOND_OF_WEEK   13

Definition at line 135 of file vmstime.h.

#define LIB_K_SECOND_OF_YEAR   LIB_K_SECOND_OF_YEAR

Definition at line 127 of file vmstime.h.

#define LIB_K_SECOND_OF_YEAR   5

Definition at line 127 of file vmstime.h.

#define lib_mult_delta_time   lib_mult_delta_time

Definition at line 119 of file vmstime.h.

#define lib_sub_times   lib_sub_times

Definition at line 120 of file vmstime.h.

#define lib_subx   lib_subx

Definition at line 121 of file vmstime.h.

#define SS__IVTIME   388

Definition at line 49 of file vmstime.h.

Referenced by exe_bintim(), lib_cvt_vectim(), and sys___combine_date_time().

#define SS__NORMAL   1

Definition at line 48 of file vmstime.h.

Referenced by com_std_flushattns(), com_std_flushctrls(), com_std_setattnast(), com_std_setctrlast(), exe_allocate(), exe_allocate_pool(), exe_alononpagvar(), exe_altquepkt(), exe_ascefc(), exe_asctim(), exe_assign(), exe_cancel(), exe_cantim(), exe_canwak(), exe_cli(), exe_cpu_capabilities(), exe_create_region_32(), exe_crelnt(), exe_crembx(), exe_creprc(), exe_dacefc(), exe_dassgn(), exe_dclast(), exe_dclexh(), exe_deallocate(), exe_deallocate_pool(), exe_deq(), exe_device_scan(), exe_dlcefc(), exe_enq(), exe_exit(), exe_expreg(), exe_faol(), exe_finishio(), exe_getdvi(), exe_getjpi(), exe_getsyi(), exe_gettim(), exe_getuai(), exe_hiber(), exe_imgfix(), exe_insioq(), exe_nampid(), exe_numtim(), exe_process_affinity(), exe_process_capabilities(), exe_process_check_priv(), exe_procstrt(), exe_purgws(), exe_qioacppkt(), exe_qiodrvpkt(), exe_resume(), exe_rundwn(), exe_set_implicit_affinity(), exe_setime(), exe_setpri(), exe_setprn(), exe_setprv(), exe_setrwm(), exe_setswm(), exe_std_allocxyz(), exe_std_alononpaged(), exe_std_chkrdacces(), exe_std_chkwrtacces(), exe_std_deanonpgdsiz(), exe_std_debit_bytcnt_alo(), exe_std_readchk(), exe_std_writechk(), exe_std_wrtmailbox(), exe_synch(), exe_wait(), init_crb(), init_ddb(), init_ucb(), ioc_ffchan(), ioc_search(), ioc_std_clone_mscp_ucb(), ioc_std_clone_ucb(), ioc_std_copy_mscp_ucb(), ioc_std_copy_ucb(), ioc_std_create_ucb(), ioc_std_link_ucb(), ioc_std_mapvblk(), ioc_verify_chan(), lck_grant_lock(), lib_cvt_vectim(), lib_day(), lnm_contsearch(), lnm_hash(), lnm_setup(), lnm_table_srch(), maybe_blkast(), mb_chanunwait(), mb_fdt_read(), mb_fdt_sensemode(), mb_fdt_setmode(), mb_fdt_write(), mb_finishread(), mb_init_tables(), mb_unit_init(), mmg_credel(), mmg_delpag(), mmg_pteref_64(), mmg_purgempl(), mmg_purgwsscn(), mmg_setprtpag(), sch_acquire_affinity(), sch_add_cpu_cap(), sch_clear_affinity(), sch_clear_capability(), sch_qast(), sch_release_affinity(), sch_release_capability(), sch_remove_cpu_cap(), sch_require_capability(), sch_set_affinity(), sch_set_capability(), and sys___combine_date_time().

#define sys_asctim   sys_asctim

Definition at line 108 of file vmstime.h.

#define sys_bintim   sys_bintim

Definition at line 109 of file vmstime.h.

#define sys_gettim   sys_gettim

Definition at line 110 of file vmstime.h.

#define sys_numtim   sys_numtim

Definition at line 111 of file vmstime.h.

#define VMSTIME_ZERO   {0,0,0,0,0,0,0,0}

Definition at line 41 of file vmstime.h.


Typedef Documentation

typedef unsigned char* pVMSTIME

Definition at line 39 of file vmstime.h.

typedef unsigned char VMSTIME[8]

Definition at line 24 of file vmstime.h.


Function Documentation

unsigned lib_add_times ( VMSTIME  time1,
VMSTIME  time2,
VMSTIME  result 
)

unsigned lib_addx ( void *  addant,
void *  addee,
void *  result,
int *  lenadd 
)

unsigned lib_cvt_from_internal_time ( unsigned *  operation,
unsigned *  result,
VMSTIME  input_time 
)

unsigned lib_cvt_to_internal_time ( unsigned *  operation,
int *  input,
VMSTIME  result 
)

unsigned lib_cvt_vectim ( unsigned short  timbuf[7],
VMSTIME  timadr 
)

unsigned lib_day ( int *  days,
VMSTIME  timadr,
int *  day_time 
)

unsigned lib_day_of_week ( VMSTIME  timadr,
unsigned *  weekday 
)

unsigned lib_mult_delta_time ( int *  multiple,
VMSTIME  timadr 
)

unsigned lib_sub_times ( VMSTIME  time1,
VMSTIME  time2,
VMSTIME  result 
)

unsigned lib_subx ( void *  subant,
void *  subee,
void *  result,
int *  lenadd 
)

unsigned sys_asctim ( unsigned short *  timlen,
struct dsc_descriptor *  timbuf,
VMSTIME  timadr,
unsigned  cvtflg 
)

unsigned sys_bintim ( struct dsc_descriptor *  timbuf,
VMSTIME  timadr 
)

unsigned sys_gettim ( VMSTIME  timadr  ) 

unsigned sys_numtim ( unsigned short  timvec[7],
VMSTIME  timadr 
)

int vmstime_compare ( VMSTIME  time1,
VMSTIME  time2 
)

unsigned vmstime_from_nt ( VMSTIME  nt_time,
VMSTIME  vms_time 
)

unsigned vmstime_to_nt ( VMSTIME  vms_time,
VMSTIME  nt_time 
)


Generated on Fri Oct 9 10:25:55 2009 for FreeVMS by  doxygen 1.5.5