globus_gram_protocol_pack(3) | globus_gram_protocol | globus_gram_protocol_pack(3) |
globus_gram_protocol_pack - Message Packing
- Message Packing.
int globus_gram_protocol_pack_job_request (int
job_state_mask, const char *callback_url, const char *rsl, globus_byte_t
**query, globus_size_t *querysize)
Pack a GRAM Job Request. int
globus_gram_protocol_pack_job_request_reply (int status, const char
*job_contact, globus_byte_t **reply, globus_size_t *replysize)
Pack a GRAM reply message. int
globus_gram_protocol_pack_job_request_reply_with_extensions (int
status, const char *job_contact, globus_hashtable_t *extensions,
globus_byte_t **reply, globus_size_t *replysize)
Pack a GRAM reply message with extension attributes. int
globus_gram_protocol_pack_status_request (const char *status_request,
globus_byte_t **query, globus_size_t *querysize)
Pack a GRAM query message. int globus_gram_protocol_pack_status_reply
(int job_status, int failure_code, int job_failure_code, globus_byte_t
**reply, globus_size_t *replysize)
Pack a GRAM query reply message. int
globus_gram_protocol_pack_status_reply_with_extensions (int
job_status, int failure_code, int job_failure_code, globus_hashtable_t
*extensions, globus_byte_t **reply, globus_size_t *replysize)
Pack a GRAM query reply message with extensions. int
globus_gram_protocol_pack_status_update_message (char *job_contact,
int status, int failure_code, globus_byte_t **reply, globus_size_t
*replysize)
Pack a GRAM status update message. int
globus_gram_protocol_pack_status_update_message_with_extensions (char
*job_contact, int status, int failure_code, globus_hashtable_t *extensions,
globus_byte_t **reply, globus_size_t *replysize)
Pack a GRAM status update message with extensions. int
globus_gram_protocol_pack_version_request (char **request, size_t
*requestsize)
Pack a GRAM version request message.
Message Packing.
Pack a GRAM Job Request. The globus_gram_protocol_pack_job_request() function combines its parameters into a GRAM job request message body. The caller may frame and send the resulting message by calling globus_gram_protocol_post() or just frame it by calling globus_gram_protocol_frame_request() and send it by some other mechanism. The globus_gram_protocol_pack_job_request() function returns the packed message by modifying the query parameter to point to a new string containing the message. The caller is responsible for freeing that string.
Parameters
Returns
Return values
Pack a GRAM reply message. The globus_gram_protocol_pack_job_request_reply() function combines its parameters into a GRAM reply message body. The caller may frame and send the resulting message by calling globus_gram_protocol_reply() or just frame it by calling globus_gram_protocol_frame_reply() and send it by some other mechanism. The globus_gram_protocol_pack_job_request_reply() function returns the packed message by modifying the reply parameter to point to a new string containing the message. The caller is responsible for freeing that string.
Parameters
Returns
Return values
Pack a GRAM reply message with extension attributes. The globus_gram_protocol_pack_job_request_reply_with_extensions() function combines its parameters into a GRAM reply message body. The caller may frame and send the resulting message by calling globus_gram_protocol_reply() or just frame it by calling globus_gram_protocol_frame_reply() and send it by some other mechanism. The globus_gram_protocol_pack_job_request_reply_with_extensions() function returns the packed message by modifying the reply parameter to point to a new string containing the message. The caller is responsible for freeing that string.
Parameters
Returns
Return values
Pack a GRAM query reply message. The globus_gram_protocol_pack_status_reply() function combines its parameters into a GRAM status reply message body. The caller may frame and send the resulting message by calling globus_gram_protocol_reply() or just frame it by calling globus_gram_protocol_frame_reply() and send it by some other mechanism. The globus_gram_protocol_pack_status_reply() function returns the packed message by modifying the reply parameter to point to a new string containing the message. The caller is responsible for freeing that string.
Parameters
Returns
Return values
Pack a GRAM query reply message with extensions. The globus_gram_protocol_pack_status_reply_with_extensions() function combines its parameters into a GRAM status reply message body. The caller may frame and send the resulting message by calling globus_gram_protocol_reply() or just frame it by calling globus_gram_protocol_frame_reply() and send it by some other mechanism. The globus_gram_protocol_pack_status_reply_with_extensions() function returns the packed message by modifying the reply parameter to point to a new string containing the message. The caller is responsible for freeing that string.
Parameters
Returns
Return values
Pack a GRAM query message. The globus_gram_protocol_pack_status_request() function combines its parameters into a GRAM status query message body. The caller may frame and send the resulting message by calling globus_gram_protocol_post() or just frame it by calling globus_gram_protocol_frame_request() and send it by some other mechanism. The globus_gram_protocol_pack_status_request() function returns the packed message by modifying the query parameter to point to a new string containing the message. The caller is responsible for freeing that string.
Parameters
query An output parameter which will be set to a new string
containing the packed job query message.
querysize An output parameter which will be set to the length of the
job query message returned in query.
Returns
Return values
Pack a GRAM status update message. The globus_gram_protocol_pack_status_update_message() function combines its parameters into a GRAM status update message body. The caller may frame and send the resulting message by calling globus_gram_protocol_post() or just frame it by calling globus_gram_protocol_frame_request() and send it by some other mechanism. The globus_gram_protocol_pack_status_update_message() function returns the packed message by modifying the reply parameter to point to a new string containing the message. The caller is responsible for freeing that string.
Parameters
Returns
Return values
Pack a GRAM status update message with extensions. The globus_gram_protocol_pack_status_update_message_with_extensions() function combines its parameters into a GRAM status update message body. The caller may frame and send the resulting message by calling globus_gram_protocol_post() or just frame it by calling globus_gram_protocol_frame_request() and send it by some other mechanism. The globus_gram_protocol_pack_status_update_message_with_extensions() function returns the packed message by modifying the reply parameter to point to a new string containing the message. The caller is responsible for freeing that string.
Parameters
Returns
Return values
Pack a GRAM version request message. The globus_gram_protocol_pack_job_request() function creates a copy of the GRAM version request. The caller may frame and send the resulting message by calling globus_gram_protocol_post() or just frame it by calling globus_gram_protocol_frame_request() and send it by some other mechanism. The globus_gram_protocol_pack_version_request() function returns the packed message by modifying the request parameter to point to a new string containing the message. The caller is responsible for freeing that string.
Parameters
Returns
Return values
Generated automatically by Doxygen for globus_gram_protocol from the source code.
Tue Jul 5 2022 | Version 13.6 |