Skip to content

Commit

Permalink
Convert to UNIX format
Browse files Browse the repository at this point in the history
  • Loading branch information
tachker committed Sep 28, 2016
1 parent 2765a57 commit 27fda6e
Show file tree
Hide file tree
Showing 53 changed files with 7,006 additions and 7,006 deletions.
76 changes: 38 additions & 38 deletions test/invoke_app/include/invoke_app.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,44 +22,44 @@
* SOFTWARE.
*/

#ifndef __INVOKE_APP_H_INCLUDED__
#define __INVOKE_APP_H_INCLUDED__

#ifdef __cplusplus
extern "C" {
#endif

#include "mal.h"
#include "malbinary.h"
#include "malsplitbinary.h"
#include "malzmq.h"
#include "maltcp.h"
#include "testarea.h"
#include "malactor.h"

#define INVOKE_APP_VERSION_MAJOR 1
#define INVOKE_APP_VERSION_MINOR 0
#define INVOKE_APP_VERSION_PATCH 0

#define INVOKE_APP_MAKE_VERSION(major, minor, patch) \
((major) * 10000 + (minor) * 100 + (patch))
#define INVOKE_APP_VERSION \
INVOKE_APP_MAKE_VERSION(INVOKE_APP_VERSION_MAJOR, INVOKE_APP_VERSION_MINOR, INVOKE_APP_VERSION_PATCH)

typedef struct _invoke_app_myprovider_t invoke_app_myprovider_t;
typedef struct _invoke_app_myconsumer_t invoke_app_myconsumer_t;

void invoke_app_test(bool verbose);

// Public API classes
#include "invoke_app_myconsumer.h"
#include "invoke_app_myprovider.h"
#ifndef __INVOKE_APP_H_INCLUDED__
#define __INVOKE_APP_H_INCLUDED__

#ifdef __cplusplus
extern "C" {
#endif

#include "mal.h"
#include "malbinary.h"
#include "malsplitbinary.h"
#include "malzmq.h"
#include "maltcp.h"
#include "testarea.h"
#include "malactor.h"

#define INVOKE_APP_VERSION_MAJOR 1
#define INVOKE_APP_VERSION_MINOR 0
#define INVOKE_APP_VERSION_PATCH 0

#define INVOKE_APP_MAKE_VERSION(major, minor, patch) \
((major) * 10000 + (minor) * 100 + (patch))
#define INVOKE_APP_VERSION \
INVOKE_APP_MAKE_VERSION(INVOKE_APP_VERSION_MAJOR, INVOKE_APP_VERSION_MINOR, INVOKE_APP_VERSION_PATCH)

typedef struct _invoke_app_myprovider_t invoke_app_myprovider_t;
typedef struct _invoke_app_myconsumer_t invoke_app_myconsumer_t;

void invoke_app_test(bool verbose);

// Public API classes
#include "invoke_app_myconsumer.h"
#include "invoke_app_myprovider.h"

extern mal_actor_t *provider_actor;
extern mal_actor_t *consumer_actor;

#ifdef __cplusplus
}
#endif

#endif

#ifdef __cplusplus
}
#endif

#endif
82 changes: 41 additions & 41 deletions test/invoke_app/include/invoke_app_myconsumer.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,44 +22,44 @@
* SOFTWARE.
*/

#ifndef __INVOKE_APP_MYCONSUMER_H_INCLUDED__
#define __INVOKE_APP_MYCONSUMER_H_INCLUDED__

#ifdef __cplusplus
extern "C" {
#endif

invoke_app_myconsumer_t *invoke_app_myconsumer_new(mal_uri_t *provider_uri,
mal_blob_t *authentication_id, mal_qoslevel_t qoslevel,
mal_uinteger_t priority, mal_identifier_list_t *domain,
mal_identifier_t *network_zone, mal_sessiontype_t session,
mal_identifier_t *session_name,
mal_encoder_t *encoder, mal_decoder_t *decoder);

int invoke_app_myconsumer_initialize(void *self, mal_actor_t *mal_actor);

int invoke_app_myconsumer_finalize(void *self, mal_actor_t *mal_actor);

int invoke_app_myconsumer_testarea_testservice_testinvoke_ack(
void *self, mal_ctx_t *mal_ctx,
mal_endpoint_t *mal_endpoint, mal_message_t *message);

int invoke_app_myconsumer_testarea_testservice_testinvoke_response(
void *self, mal_ctx_t *mal_ctx,
mal_endpoint_t *mal_endpoint, mal_message_t *message);

mal_uri_t *invoke_app_myconsumer_get_provider_uri(invoke_app_myconsumer_t *self);

mal_identifier_list_t *invoke_app_myconsumer_get_domain(
invoke_app_myconsumer_t *self);

mal_blob_t *invoke_app_myconsumer_get_authentication_id(
invoke_app_myconsumer_t *self);

void invoke_app_myconsumer_test(bool verbose);

#ifdef __cplusplus
}
#endif

#endif
#ifndef __INVOKE_APP_MYCONSUMER_H_INCLUDED__
#define __INVOKE_APP_MYCONSUMER_H_INCLUDED__

#ifdef __cplusplus
extern "C" {
#endif

invoke_app_myconsumer_t *invoke_app_myconsumer_new(mal_uri_t *provider_uri,
mal_blob_t *authentication_id, mal_qoslevel_t qoslevel,
mal_uinteger_t priority, mal_identifier_list_t *domain,
mal_identifier_t *network_zone, mal_sessiontype_t session,
mal_identifier_t *session_name,
mal_encoder_t *encoder, mal_decoder_t *decoder);

int invoke_app_myconsumer_initialize(void *self, mal_actor_t *mal_actor);

int invoke_app_myconsumer_finalize(void *self, mal_actor_t *mal_actor);

int invoke_app_myconsumer_testarea_testservice_testinvoke_ack(
void *self, mal_ctx_t *mal_ctx,
mal_endpoint_t *mal_endpoint, mal_message_t *message);

int invoke_app_myconsumer_testarea_testservice_testinvoke_response(
void *self, mal_ctx_t *mal_ctx,
mal_endpoint_t *mal_endpoint, mal_message_t *message);

mal_uri_t *invoke_app_myconsumer_get_provider_uri(invoke_app_myconsumer_t *self);

mal_identifier_list_t *invoke_app_myconsumer_get_domain(
invoke_app_myconsumer_t *self);

mal_blob_t *invoke_app_myconsumer_get_authentication_id(
invoke_app_myconsumer_t *self);

void invoke_app_myconsumer_test(bool verbose);

#ifdef __cplusplus
}
#endif

#endif
56 changes: 28 additions & 28 deletions test/invoke_app/include/invoke_app_myprovider.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,31 @@
* SOFTWARE.
*/

/*
*/

#ifndef __INVOKE_APP_MYPROVIDER_H_INCLUDED__
#define __INVOKE_APP_MYPROVIDER_H_INCLUDED__

#ifdef __cplusplus
extern "C" {
#endif

invoke_app_myprovider_t *invoke_app_myprovider_new(
mal_encoder_t *encoder, mal_decoder_t *decoder);

int invoke_app_myprovider_initialize(void *self, mal_actor_t *mal_actor);

int invoke_app_myprovider_finalize(void *self, mal_actor_t *mal_actor);

int invoke_app_myprovider_testarea_testservice_testinvoke(
void *self, mal_ctx_t *mal_ctx,
mal_endpoint_t *mal_endpoint, mal_message_t *message);

void invoke_app_myprovider_test(bool verbose);

#ifdef __cplusplus
}
#endif

#endif
/*
*/

#ifndef __INVOKE_APP_MYPROVIDER_H_INCLUDED__
#define __INVOKE_APP_MYPROVIDER_H_INCLUDED__

#ifdef __cplusplus
extern "C" {
#endif

invoke_app_myprovider_t *invoke_app_myprovider_new(
mal_encoder_t *encoder, mal_decoder_t *decoder);

int invoke_app_myprovider_initialize(void *self, mal_actor_t *mal_actor);

int invoke_app_myprovider_finalize(void *self, mal_actor_t *mal_actor);

int invoke_app_myprovider_testarea_testservice_testinvoke(
void *self, mal_ctx_t *mal_ctx,
mal_endpoint_t *mal_endpoint, mal_message_t *message);

void invoke_app_myprovider_test(bool verbose);

#ifdef __cplusplus
}
#endif

#endif
Loading

0 comments on commit 27fda6e

Please sign in to comment.