13 &(hash,file_id,hashed_id,ierr)
35 INTEGER,
INTENT(IN) :: FILE_ID
36 INTEGER,
INTENT(INOUT) :: HASHED_ID
37 INTEGER,
INTENT(INOUT) :: HASH(
max_file)
38 INTEGER,
INTENT(OUT) :: IERR
45 IF (hash(i).EQ.file_id)
THEN 51 IF(hashed_id.EQ.0)
THEN 65 &(hash,file_id,hashed_id,ierr)
87 INTEGER,
INTENT(INOUT) :: HASH(
max_file)
88 INTEGER,
INTENT(IN) :: FILE_ID
89 INTEGER,
INTENT(INOUT) :: HASHED_ID
90 INTEGER,
INTENT(OUT) :: IERR
94 CALL get_obj(hash,file_id,hashed_id,ierr)
95 IF(hashed_id.NE.0)
THEN 107 IF(hash(hashed_id).EQ.0)
EXIT 108 hashed_id = hashed_id + 1
115 hash(hashed_id) = file_id
subroutine add_obj(HASH, FILE_ID, HASHED_ID, IERR)
subroutine get_obj(HASH, FILE_ID, HASHED_ID, IERR)
integer, parameter hermes_file_id_already_in_use_err
integer, parameter hermes_max_file_err
integer, parameter max_file
integer, parameter hermes_file_not_opened_err