#include "dynstring.h"
Go to the source code of this file.
typedef fipa_acl_message_t* fipa_acl_message_p |
Definition at line 136 of file fipa_acl.h.
typedef struct fipa_acl_message_s fipa_acl_message_t |
Definition at line 186 of file fipa_acl.h.
Definition at line 172 of file fipa_acl.h.
typedef struct fipa_agent_identifier_set_s fipa_agent_identifier_set_t |
typedef struct fipa_agent_identifier_s fipa_agent_identifier_t |
typedef fipa_DateTime_t* fipa_DateTime_p |
Definition at line 246 of file fipa_acl.h.
typedef struct fipa_DateTime_s fipa_DateTime_t |
typedef fipa_expression_t* fipa_expression_p |
Definition at line 205 of file fipa_acl.h.
typedef struct fipa_expression_s fipa_expression_t |
typedef enum fipa_expression_type_e fipa_expression_type_t |
Definition at line 148 of file fipa_acl.h.
typedef struct fipa_message_string_s fipa_message_string_t |
typedef fipa_number_t* fipa_number_p |
Definition at line 268 of file fipa_acl.h.
typedef struct fipa_number_s fipa_number_t |
typedef fipa_string_t* fipa_string_p |
Definition at line 227 of file fipa_acl.h.
typedef struct fipa_string_s fipa_string_t |
typedef fipa_url_t* fipa_url_p |
Definition at line 257 of file fipa_acl.h.
typedef fipa_url_sequence_t* fipa_url_sequence_p |
Definition at line 159 of file fipa_acl.h.
typedef struct fipa_url_sequence_s fipa_url_sequence_t |
typedef struct fipa_url_s fipa_url_t |
typedef fipa_word_t* fipa_word_p |
Definition at line 216 of file fipa_acl.h.
typedef struct fipa_word_s fipa_word_t |
FIPA_EXPR_ZERO | |
FIPA_EXPR_WORD | |
FIPA_EXPR_STRING | |
FIPA_EXPR_NUMBER | |
FIPA_EXPR_DATETIME | |
FIPA_EXPR_EXPRESSION |
Definition at line 94 of file fipa_acl.h.
enum fipa_performative_e |
Definition at line 41 of file fipa_acl.h.
enum fipa_protocol_e |
Definition at line 72 of file fipa_acl.h.
int fipa_acl_Compose | ( | dynstring_t ** | msg, | |
fipa_acl_message_t * | acl | |||
) |
Definition at line 1233 of file fipa_acl.c.
References fipa_acl_message_s::content, fipa_acl_message_s::conversation_id, dynstring_Append(), dynstring_New(), fipa_acl_message_s::encoding, fipa_agent_identifier_Compose(), fipa_agent_identifier_set_Compose(), fipa_DateTime_Compose(), fipa_expression_Compose(), fipa_performative_Compose(), fipa_protocol_Compose(), FIPA_PROTOCOL_NONE, fipa_string_Compose(), fipa_acl_message_s::in_reply_to, fipa_acl_message_s::language, fipa_acl_message_s::ontology, fipa_acl_message_s::performative, fipa_acl_message_s::protocol, fipa_acl_message_s::receiver, fipa_acl_message_s::reply_by, fipa_acl_message_s::reply_to, fipa_acl_message_s::reply_with, and fipa_acl_message_s::sender.
Referenced by MC_AclSend().
fipa_acl_message_t* fipa_acl_message_Copy | ( | fipa_acl_message_t * | src | ) |
Definition at line 86 of file fipa_acl.c.
References fipa_acl_message_s::content, fipa_acl_message_s::conversation_id, fipa_acl_message_s::encoding, fipa_acl_message_New(), fipa_agent_identifier_Copy(), fipa_agent_identifier_set_Copy(), fipa_DateTime_Copy(), fipa_expression_Copy(), fipa_string_Copy(), fipa_acl_message_s::in_reply_to, fipa_acl_message_s::language, fipa_acl_message_s::ontology, fipa_acl_message_s::performative, fipa_acl_message_s::protocol, fipa_acl_message_s::receiver, fipa_acl_message_s::reply_by, fipa_acl_message_s::reply_to, fipa_acl_message_s::reply_with, and fipa_acl_message_s::sender.
Referenced by MC_AclSend().
int fipa_acl_message_Destroy | ( | fipa_acl_message_t * | message | ) |
Definition at line 65 of file fipa_acl.c.
References fipa_acl_message_s::content, fipa_acl_message_s::conversation_id, fipa_acl_message_s::encoding, fipa_agent_identifier_Destroy(), fipa_agent_identifier_set_Destroy(), fipa_DateTime_Destroy(), fipa_expression_Destroy(), fipa_string_Destroy(), fipa_acl_message_s::in_reply_to, fipa_acl_message_s::language, fipa_acl_message_s::ontology, fipa_acl_message_s::receiver, fipa_acl_message_s::reply_by, fipa_acl_message_s::reply_to, fipa_acl_message_s::reply_with, and fipa_acl_message_s::sender.
Referenced by acc_connection_Thread(), and MC_AclDestroy().
fipa_acl_message_t* fipa_acl_message_New | ( | void | ) |
Definition at line 57 of file fipa_acl.c.
Referenced by acc_connection_Thread(), fipa_acl_message_Copy(), fipa_Reply(), and MC_AclNew().
int fipa_acl_Parse | ( | struct fipa_acl_message_s * | acl, | |
fipa_message_string_p | message | |||
) |
int fipa_agent_identifier_Compose | ( | dynstring_t * | msg, | |
fipa_agent_identifier_t * | id | |||
) |
Definition at line 1447 of file fipa_acl.c.
References fipa_agent_identifier_s::addresses, dynstring_Append(), fipa_agent_identifier_set_Compose(), fipa_url_sequence_Compose(), fipa_agent_identifier_s::name, fipa_agent_identifier_set_s::num, fipa_url_sequence_s::num, and fipa_agent_identifier_s::resolvers.
Referenced by fipa_acl_Compose(), and fipa_agent_identifier_set_Compose().
fipa_agent_identifier_t* fipa_agent_identifier_Copy | ( | fipa_agent_identifier_t * | src | ) |
Definition at line 236 of file fipa_acl.c.
References fipa_agent_identifier_s::addresses, fipa_agent_identifier_New(), fipa_agent_identifier_set_Copy(), fipa_url_sequence_Copy(), fipa_agent_identifier_s::name, fipa_agent_identifier_s::resolvers, and strdup.
Referenced by fipa_acl_message_Copy(), fipa_acl_Param_Copy(), fipa_agent_identifier_set_Copy(), and fipa_Reply().
int fipa_agent_identifier_Destroy | ( | fipa_agent_identifier_t * | id | ) |
Definition at line 224 of file fipa_acl.c.
References fipa_agent_identifier_s::addresses, fipa_agent_identifier_set_Destroy(), fipa_url_sequence_Destroy(), fipa_agent_identifier_s::name, and fipa_agent_identifier_s::resolvers.
Referenced by fipa_acl_message_Destroy(), fipa_acl_Param_Destroy(), fipa_agent_identifier_set_Destroy(), and MC_AclSetSender().
fipa_agent_identifier_t* fipa_agent_identifier_New | ( | void | ) |
Definition at line 216 of file fipa_acl.c.
Referenced by fipa_agent_identifier_Copy(), fipa_envelope_ParseAgentIdentifier(), MC_AclAddReceiver(), MC_AclAddReplyTo(), and MC_AclSetSender().
int fipa_agent_identifier_Parse | ( | fipa_agent_identifier_p * | aid, | |
fipa_message_string_p | message | |||
) |
Definition at line 1033 of file fipa_acl.c.
References CHECK_NULL, fipa_word_s::content, fipa_agent_identifier_set_Parse(), fipa_GetAtom(), fipa_url_sequence_Parse(), fipa_word_Destroy(), fipa_word_Parse(), MC_ERR_PARSE, MC_SUCCESS, and fipa_message_string_s::parse.
Referenced by fipa_agent_identifier_set_Parse(), and fipa_message_parameter_Parse().
int fipa_agent_identifier_set_Compose | ( | dynstring_t * | msg, | |
fipa_agent_identifier_set_t * | ids | |||
) |
Definition at line 1434 of file fipa_acl.c.
References dynstring_Append(), fipa_agent_identifier_Compose(), fipa_agent_identifier_set_s::fipa_agent_identifiers, and fipa_agent_identifier_set_s::num.
Referenced by fipa_acl_Compose(), and fipa_agent_identifier_Compose().
fipa_agent_identifier_set_t* fipa_agent_identifier_set_Copy | ( | fipa_agent_identifier_set_t * | src | ) |
Definition at line 195 of file fipa_acl.c.
References fipa_agent_identifier_Copy(), fipa_agent_identifier_set_New(), fipa_agent_identifier_set_s::fipa_agent_identifiers, fipa_agent_identifier_set_s::num, and fipa_agent_identifier_set_s::retain_order.
Referenced by fipa_acl_message_Copy(), fipa_acl_Param_Copy(), fipa_agent_identifier_Copy(), and fipa_Reply().
int fipa_agent_identifier_set_Destroy | ( | fipa_agent_identifier_set_t * | idset | ) |
Definition at line 183 of file fipa_acl.c.
References fipa_agent_identifier_Destroy(), fipa_agent_identifier_set_s::fipa_agent_identifiers, and fipa_agent_identifier_set_s::num.
Referenced by fipa_acl_message_Destroy(), fipa_acl_Param_Destroy(), and fipa_agent_identifier_Destroy().
fipa_agent_identifier_set_t* fipa_agent_identifier_set_New | ( | void | ) |
Definition at line 175 of file fipa_acl.c.
Referenced by fipa_agent_identifier_set_Copy(), fipa_envelope_HandleIntendedReceiver(), fipa_envelope_HandleTo(), fipa_Reply(), MC_AclAddReceiver(), and MC_AclAddReplyTo().
int fipa_agent_identifier_set_Parse | ( | fipa_agent_identifier_set_p * | agent_ids, | |
fipa_message_string_p | message | |||
) |
Definition at line 1192 of file fipa_acl.c.
References fipa_word_s::content, fipa_agent_identifier_Parse(), fipa_GetAtom(), fipa_word_Parse(), MC_ERR_PARSE, MC_SUCCESS, and fipa_agent_identifier_set_s::retain_order.
Referenced by fipa_agent_identifier_Parse(), and fipa_message_parameter_Parse().
int fipa_CheckNextToken | ( | const fipa_message_string_p | message, | |
const char * | token | |||
) |
Definition at line 695 of file fipa_acl.c.
References fipa_message_string_s::parse.
Referenced by fipa_expression_Parse().
int fipa_DateTime_Compose | ( | dynstring_t * | msg, | |
fipa_DateTime_t * | date | |||
) |
Definition at line 1520 of file fipa_acl.c.
References buf, fipa_DateTime_s::day, dynstring_Append(), fipa_DateTime_s::hour, fipa_DateTime_s::millisecond, fipa_DateTime_s::minute, fipa_DateTime_s::month, fipa_DateTime_s::second, fipa_DateTime_s::sign, and fipa_DateTime_s::year.
Referenced by fipa_acl_Compose(), and fipa_expression_Compose().
fipa_DateTime_t* fipa_DateTime_Copy | ( | fipa_DateTime_t * | src | ) |
Definition at line 399 of file fipa_acl.c.
References fipa_DateTime_New().
Referenced by fipa_acl_envelope_Received_Copy(), fipa_acl_message_Copy(), fipa_acl_Param_Copy(), and fipa_expression_Copy().
int fipa_DateTime_Destroy | ( | fipa_DateTime_t * | dt | ) |
Definition at line 392 of file fipa_acl.c.
Referenced by fipa_acl_envelope_Received_Destroy(), fipa_acl_message_Destroy(), fipa_acl_Param_Destroy(), and fipa_expression_Destroy().
fipa_DateTime_t* fipa_DateTime_New | ( | void | ) |
Definition at line 384 of file fipa_acl.c.
Referenced by fipa_DateTime_Copy().
int fipa_datetime_Parse | ( | fipa_DateTime_p * | datetime, | |
fipa_message_string_p | message | |||
) |
Definition at line 850 of file fipa_acl.c.
References buf, fipa_GetWholeToken(), MC_ERR_PARSE, MC_SUCCESS, fipa_message_string_s::parse, and fipa_DateTime_s::sign.
Referenced by fipa_envelope_HandleDate(), fipa_envelope_HandleReceived(), fipa_expression_Parse(), and fipa_message_parameter_Parse().
int fipa_expression_Compose | ( | dynstring_t * | msg, | |
fipa_expression_t * | expr | |||
) |
Definition at line 1473 of file fipa_acl.c.
References fipa_expression_s::content, fipa_expression_s::content_u::datetime, fipa_expression_s::content_u::expression, fipa_DateTime_Compose(), FIPA_EXPR_DATETIME, FIPA_EXPR_EXPRESSION, FIPA_EXPR_NUMBER, FIPA_EXPR_STRING, FIPA_EXPR_WORD, fipa_expression_Compose(), fipa_number_Compose(), fipa_string_Compose(), fipa_word_Compose(), MC_ERR_PARSE, fipa_expression_s::content_u::number, fipa_expression_s::content_u::string, fipa_expression_s::type, and fipa_expression_s::content_u::word.
Referenced by fipa_acl_Compose(), and fipa_expression_Compose().
fipa_expression_t* fipa_expression_Copy | ( | fipa_expression_t * | src | ) |
Definition at line 287 of file fipa_acl.c.
References fipa_expression_s::content, fipa_expression_s::content_u::datetime, fipa_expression_s::content_u::expression, fipa_DateTime_Copy(), FIPA_EXPR_DATETIME, FIPA_EXPR_EXPRESSION, FIPA_EXPR_NUMBER, FIPA_EXPR_STRING, FIPA_EXPR_WORD, fipa_expression_Copy(), fipa_expression_Destroy(), fipa_expression_New(), fipa_number_Copy(), fipa_string_Copy(), fipa_word_Copy(), fipa_expression_s::content_u::number, fipa_expression_s::content_u::string, fipa_expression_s::type, and fipa_expression_s::content_u::word.
Referenced by fipa_acl_message_Copy(), fipa_expression_Copy(), and fipa_Reply().
int fipa_expression_Destroy | ( | fipa_expression_t * | expr | ) |
Definition at line 256 of file fipa_acl.c.
References fipa_expression_s::content, fipa_expression_s::content_u::datetime, fipa_expression_s::content_u::expression, fipa_DateTime_Destroy(), FIPA_EXPR_DATETIME, FIPA_EXPR_EXPRESSION, FIPA_EXPR_NUMBER, FIPA_EXPR_STRING, FIPA_EXPR_WORD, fipa_expression_Destroy(), fipa_number_Destroy(), fipa_string_Destroy(), fipa_word_Destroy(), FREEMEM, fipa_expression_s::content_u::number, fipa_expression_s::content_u::string, fipa_expression_s::type, and fipa_expression_s::content_u::word.
Referenced by fipa_acl_message_Destroy(), fipa_expression_Copy(), and fipa_expression_Destroy().
fipa_expression_t* fipa_expression_New | ( | void | ) |
Definition at line 248 of file fipa_acl.c.
Referenced by fipa_expression_Copy(), and MC_AclSetConversationID().
int fipa_expression_Parse | ( | fipa_expression_t ** | expression, | |
fipa_message_string_p | message | |||
) |
Definition at line 714 of file fipa_acl.c.
References fipa_CheckNextToken(), fipa_datetime_Parse(), FIPA_EXPR_DATETIME, FIPA_EXPR_EXPRESSION, FIPA_EXPR_STRING, FIPA_EXPR_WORD, fipa_expression_Parse(), fipa_GetAtom(), fipa_string_Parse(), fipa_word_Parse(), MC_ERR_PARSE, MC_SUCCESS, and fipa_expression_s::type.
Referenced by fipa_expression_Parse(), and fipa_message_parameter_Parse().
int fipa_GetAtom | ( | fipa_message_string_p | message, | |
char | expected_atom | |||
) |
Definition at line 630 of file fipa_acl.c.
References MC_ERR_PARSE, MC_SUCCESS, and fipa_message_string_s::parse.
Referenced by fipa_acl_Parse(), fipa_agent_identifier_Parse(), fipa_agent_identifier_set_Parse(), fipa_expression_Parse(), fipa_message_parameter_Parse(), fipa_string_Parse(), and fipa_url_sequence_Parse().
int fipa_GetNextWord | ( | char ** | word, | |
const fipa_message_string_p | message | |||
) |
Definition at line 765 of file fipa_acl.c.
References ERR, MC_SUCCESS, and fipa_message_string_s::parse.
int fipa_GetWholeToken | ( | char ** | word, | |
const fipa_message_string_p | message | |||
) |
Definition at line 813 of file fipa_acl.c.
References MC_SUCCESS, and fipa_message_string_s::parse.
Referenced by fipa_datetime_Parse().
int fipa_message_parameter_Parse | ( | struct fipa_acl_message_s * | acl, | |
fipa_message_string_p | message | |||
) |
fipa_message_string_t* fipa_message_string_Copy | ( | fipa_message_string_t * | src | ) |
Definition at line 128 of file fipa_acl.c.
References fipa_message_string_s::message, fipa_message_string_s::parse, and strdup.
int fipa_message_string_Destroy | ( | fipa_message_string_t * | message | ) |
Definition at line 118 of file fipa_acl.c.
References fipa_message_string_s::message.
Referenced by acc_connection_Thread().
fipa_message_string_t* fipa_message_string_New | ( | void | ) |
Definition at line 110 of file fipa_acl.c.
Referenced by acc_connection_Thread().
int fipa_message_type_Parse | ( | enum fipa_performative_e * | performative, | |
fipa_message_string_p | message | |||
) |
Definition at line 568 of file fipa_acl.c.
References fipa_word_s::content, FIPA_ACCEPT_PROPOSAL, FIPA_AGREE, FIPA_CALL_FOR_PROPOSAL, FIPA_CANCEL, FIPA_CONFIRM, FIPA_DISCONFIRM, FIPA_FAILURE, FIPA_INFORM, FIPA_INFORM_IF, FIPA_INFORM_REF, FIPA_NOT_UNDERSTOOD, FIPA_PROPOGATE, FIPA_PROPOSE, FIPA_PROXY, FIPA_QUERY_IF, FIPA_QUERY_REF, FIPA_REFUSE, FIPA_REJECT_PROPOSAL, FIPA_REQUEST, FIPA_REQUEST_WHEN, FIPA_REQUEST_WHENEVER, FIPA_SUBSCRIBE, fipa_word_Destroy(), fipa_word_Parse(), and MC_ERR_PARSE.
Referenced by fipa_acl_Parse().
int fipa_number_Compose | ( | dynstring_t * | msg, | |
fipa_number_t * | number | |||
) |
Definition at line 1548 of file fipa_acl.c.
References dynstring_Append(), and fipa_number_s::str.
Referenced by fipa_expression_Compose().
fipa_number_t* fipa_number_Copy | ( | fipa_number_t * | src | ) |
Definition at line 455 of file fipa_acl.c.
References fipa_number_New(), fipa_number_s::str, and strdup.
Referenced by fipa_expression_Copy().
int fipa_number_Destroy | ( | fipa_number_t * | number | ) |
Definition at line 445 of file fipa_acl.c.
References fipa_number_s::str.
Referenced by fipa_expression_Destroy().
fipa_number_t* fipa_number_New | ( | void | ) |
Definition at line 437 of file fipa_acl.c.
Referenced by fipa_number_Copy().
int fipa_performative_Compose | ( | dynstring_t * | msg, | |
enum fipa_performative_e | performative | |||
) |
Definition at line 1346 of file fipa_acl.c.
References dynstring_Append(), FIPA_ACCEPT_PROPOSAL, FIPA_AGREE, FIPA_CALL_FOR_PROPOSAL, FIPA_CANCEL, FIPA_CONFIRM, FIPA_DISCONFIRM, FIPA_FAILURE, FIPA_INFORM, FIPA_INFORM_IF, FIPA_INFORM_REF, FIPA_NOT_UNDERSTOOD, FIPA_PROPOGATE, FIPA_PROPOSE, FIPA_PROXY, FIPA_QUERY_IF, FIPA_QUERY_REF, FIPA_REFUSE, FIPA_REJECT_PROPOSAL, FIPA_REQUEST, FIPA_REQUEST_WHEN, FIPA_REQUEST_WHENEVER, FIPA_SUBSCRIBE, and MC_ERR_PARSE.
Referenced by fipa_acl_Compose().
int fipa_protocol_Compose | ( | dynstring_t * | msg, | |
enum fipa_protocol_e | protocol | |||
) |
Definition at line 1303 of file fipa_acl.c.
References dynstring_Append(), FIPA_PROTOCOL_BROKERING, FIPA_PROTOCOL_CONTRACT_NET, FIPA_PROTOCOL_DUTCH_AUCTION, FIPA_PROTOCOL_ENGLISH_AUCTION, FIPA_PROTOCOL_ITERATED_CONTRACT_NET, FIPA_PROTOCOL_PROPOSE, FIPA_PROTOCOL_QUERY, FIPA_PROTOCOL_RECRUITING, FIPA_PROTOCOL_REQUEST, FIPA_PROTOCOL_REQUEST_WHEN, FIPA_PROTOCOL_SUBSCRIBE, and MC_ERR_PARSE.
Referenced by fipa_acl_Compose().
int fipa_protocol_type_Parse | ( | enum fipa_protocol_e * | protocol, | |
fipa_message_string_p | message | |||
) |
Definition at line 528 of file fipa_acl.c.
References fipa_word_s::content, FIPA_PROTOCOL_BROKERING, FIPA_PROTOCOL_CONTRACT_NET, FIPA_PROTOCOL_DUTCH_AUCTION, FIPA_PROTOCOL_ENGLISH_AUCTION, FIPA_PROTOCOL_ITERATED_CONTRACT_NET, FIPA_PROTOCOL_PROPOSE, FIPA_PROTOCOL_QUERY, FIPA_PROTOCOL_RECRUITING, FIPA_PROTOCOL_REQUEST, FIPA_PROTOCOL_REQUEST_WHEN, FIPA_PROTOCOL_SUBSCRIBE, fipa_word_Destroy(), fipa_word_Parse(), and MC_ERR_PARSE.
Referenced by fipa_message_parameter_Parse().
struct fipa_acl_message_s* fipa_Reply | ( | struct fipa_acl_message_s * | acl | ) | [read] |
Definition at line 1556 of file fipa_acl.c.
References fipa_acl_message_s::conversation_id, fipa_acl_message_New(), fipa_agent_identifier_Copy(), fipa_agent_identifier_set_Copy(), fipa_agent_identifier_set_New(), fipa_agent_identifier_set_s::fipa_agent_identifiers, fipa_expression_Copy(), fipa_agent_identifier_set_s::num, fipa_acl_message_s::protocol, fipa_acl_message_s::receiver, fipa_acl_message_s::reply_to, fipa_agent_identifier_set_s::retain_order, and fipa_acl_message_s::sender.
Referenced by MC_AclReply().
int fipa_string_Compose | ( | dynstring_t * | msg, | |
fipa_string_t * | string | |||
) |
Definition at line 1511 of file fipa_acl.c.
References fipa_string_s::content, and dynstring_Append().
Referenced by fipa_acl_Compose(), and fipa_expression_Compose().
fipa_string_t* fipa_string_Copy | ( | fipa_string_t * | src | ) |
Definition at line 374 of file fipa_acl.c.
References fipa_string_s::content, fipa_string_New(), and strdup.
Referenced by fipa_acl_message_Copy(), and fipa_expression_Copy().
int fipa_string_Destroy | ( | fipa_string_t * | str | ) |
Definition at line 364 of file fipa_acl.c.
References fipa_string_s::content.
Referenced by fipa_acl_message_Destroy(), fipa_expression_Destroy(), and MC_AclSetContent().
fipa_string_t* fipa_string_New | ( | void | ) |
Definition at line 356 of file fipa_acl.c.
Referenced by fipa_string_Copy(), MC_AclSetContent(), and MC_AclSetConversationID().
int fipa_string_Parse | ( | fipa_string_p * | fipa_string, | |
fipa_message_string_p | message | |||
) |
Definition at line 988 of file fipa_acl.c.
References fipa_string_s::content, fipa_GetAtom(), MC_ERR_PARSE, MC_SUCCESS, and fipa_message_string_s::parse.
Referenced by fipa_expression_Parse(), and fipa_message_parameter_Parse().
int fipa_url_Compose | ( | dynstring_t * | msg, | |
fipa_url_t * | url | |||
) |
Definition at line 1540 of file fipa_acl.c.
References dynstring_Append(), and fipa_url_s::str.
Referenced by fipa_url_sequence_Compose().
fipa_url_t* fipa_url_Copy | ( | fipa_url_t * | src | ) |
Definition at line 427 of file fipa_acl.c.
References fipa_url_New(), fipa_url_s::str, and strdup.
Referenced by fipa_acl_envelope_Received_Copy(), and fipa_url_sequence_Copy().
int fipa_url_Destroy | ( | fipa_url_t * | url | ) |
Definition at line 417 of file fipa_acl.c.
References fipa_url_s::str.
Referenced by fipa_acl_envelope_Received_Destroy(), and fipa_url_sequence_Destroy().
fipa_url_t* fipa_url_New | ( | void | ) |
Definition at line 409 of file fipa_acl.c.
Referenced by fipa_envelope_HandleReceived(), fipa_envelope_ParseAddresses(), fipa_url_Copy(), MC_AclAddReceiver(), MC_AclAddReplyTo(), and MC_AclSetSender().
int fipa_url_Parse | ( | fipa_url_p * | url, | |
fipa_message_string_p | message | |||
) |
Definition at line 1172 of file fipa_acl.c.
References fipa_word_s::content, fipa_word_Destroy(), fipa_word_Parse(), and strdup.
Referenced by fipa_url_sequence_Parse().
int fipa_url_sequence_Compose | ( | dynstring_t * | msg, | |
fipa_url_sequence_t * | urls | |||
) |
Definition at line 1421 of file fipa_acl.c.
References dynstring_Append(), fipa_url_Compose(), fipa_url_sequence_s::num, and fipa_url_sequence_s::urls.
Referenced by fipa_agent_identifier_Compose().
fipa_url_sequence_t* fipa_url_sequence_Copy | ( | fipa_url_sequence_t * | src | ) |
Definition at line 159 of file fipa_acl.c.
References fipa_url_Copy(), fipa_url_sequence_New(), fipa_url_sequence_s::num, and fipa_url_sequence_s::urls.
Referenced by fipa_agent_identifier_Copy().
int fipa_url_sequence_Destroy | ( | fipa_url_sequence_t * | sequence | ) |
Definition at line 147 of file fipa_acl.c.
References fipa_url_Destroy(), fipa_url_sequence_s::num, and fipa_url_sequence_s::urls.
Referenced by fipa_agent_identifier_Destroy().
fipa_url_sequence_t* fipa_url_sequence_New | ( | void | ) |
Definition at line 139 of file fipa_acl.c.
Referenced by fipa_url_sequence_Copy(), fipa_url_sequence_Parse(), MC_AclAddReceiver(), MC_AclAddReplyTo(), and MC_AclSetSender().
int fipa_url_sequence_Parse | ( | fipa_url_sequence_p * | urls, | |
fipa_message_string_p | message | |||
) |
Definition at line 1140 of file fipa_acl.c.
References fipa_word_s::content, fipa_GetAtom(), fipa_url_Parse(), fipa_url_sequence_New(), fipa_word_Destroy(), fipa_word_Parse(), and MC_ERR_PARSE.
Referenced by fipa_agent_identifier_Parse().
int fipa_word_Compose | ( | dynstring_t * | msg, | |
fipa_word_t * | word | |||
) |
Definition at line 1503 of file fipa_acl.c.
References fipa_word_s::content, and dynstring_Append().
Referenced by fipa_expression_Compose().
fipa_word_t* fipa_word_Copy | ( | fipa_word_t * | src | ) |
Definition at line 346 of file fipa_acl.c.
References fipa_word_s::content, fipa_word_New(), and strdup.
Referenced by fipa_expression_Copy().
int fipa_word_Destroy | ( | fipa_word_t * | word | ) |
Definition at line 336 of file fipa_acl.c.
References fipa_word_s::content.
Referenced by fipa_agent_identifier_Parse(), fipa_expression_Destroy(), fipa_message_parameter_Parse(), fipa_message_type_Parse(), fipa_protocol_type_Parse(), fipa_url_Parse(), and fipa_url_sequence_Parse().
fipa_word_t* fipa_word_New | ( | void | ) |
Definition at line 328 of file fipa_acl.c.
Referenced by fipa_word_Copy().
int fipa_word_Parse | ( | fipa_word_t ** | word, | |
fipa_message_string_p | message | |||
) |
Definition at line 653 of file fipa_acl.c.
References CHECK_NULL, MC_ERR_PARSE, MC_SUCCESS, and fipa_message_string_s::parse.
Referenced by fipa_agent_identifier_Parse(), fipa_agent_identifier_set_Parse(), fipa_expression_Parse(), fipa_message_parameter_Parse(), fipa_message_type_Parse(), fipa_protocol_type_Parse(), fipa_url_Parse(), and fipa_url_sequence_Parse().