Main Page | Modules | Files | Functions | Code Elements | Data Structures | Deprecated

res/res_itk.h File Reference


Detailed Description

Definition of structures and functions prototypes associated with RESERVATION ITK module.

Definition in file res_itk.h.

#include <tc/tc_startup.h>
#include <ss/ss_const.h>
#include <tccore/workspaceobject.h>
#include <res/libres_exports.h>
#include <res/libres_undef.h>

Go to the source code of this file.

Defines

Reservation states stored in the reservation object
Reservation messages to be used with Method
Reservation types

Functions

Utility Functions
These are utility functions that support Remote CICO funtionality which allow checkouts on replica objects


Function Documentation

RES_API int RES_ask_remote_site ( tag_t  reservation_tag,
tag_t remote_site 
)

Parameters:
reservation_tag  (I)
remote_site  (O)

RES_API int RES_ask_remote_user_and_group ( tag_t  reservation_tag,
char **  remote_user,
char **  remote_group 
)

Parameters:
reservation_tag  (I)
remote_user  (OF)
remote_group  (OF)

RES_API int RES_is_checked_out_by_remote_user ( tag_t  object_tag,
logical is_reserved 
)

Parameters:
object_tag  (I)
is_reserved  (O)

RES_API int RES_is_checked_out_replica ( tag_t  object_tag,
logical is_reserved 
)

Parameters:
object_tag  (I)
is_reserved  (O)

RES_API int RES_is_checkoutable ( tag_t  object_tag,
logical is_checkoutable 
)

This function determines if an object is checkoutable or not.

Returns:
Parameters:
object_tag  (I) Tag of a selected object
is_checkoutable  (O) Indicates if object is checkoutable or not

RES_API int RES_list_remote_checkout ( tag_t  remote_site,
const char *  remote_user,
const char *  remote_group,
int *  tag_count,
tag_t **  object_tags 
)

Parameters:
remote_site  (I)
remote_user  (I)
remote_group  (I)
tag_count  (O)
object_tags  (OF) tag_count

RES_API int RES_list_replica_checkout ( tag_t  remote_site,
tag_t  local_user_tag,
tag_t  local_group_tag,
int *  tag_count,
tag_t **  object_tags 
)

Parameters:
remote_site  (I)
local_user_tag  (I)
local_group_tag  (I)
tag_count  (O)
object_tags  (OF) tag_count