Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
margo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
17
Issues
17
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
sds
margo
Commits
cd6d93c6
Commit
cd6d93c6
authored
Mar 06, 2017
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
register client routines
parent
2b66eef8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
examples/multiplex/margo-example-mp-client.c
examples/multiplex/margo-example-mp-client.c
+2
-0
examples/multiplex/svc1-client.h
examples/multiplex/svc1-client.h
+2
-0
No files found.
examples/multiplex/margo-example-mp-client.c
View file @
cd6d93c6
...
...
@@ -78,6 +78,8 @@ int main(int argc, char **argv)
/* register core RPC */
my_rpc_shutdown_id
=
MERCURY_REGISTER
(
hg_class
,
"my_shutdown_rpc"
,
void
,
void
,
NULL
);
/* register service APIs */
svc1_register_client
(
mid
);
/* find addr for server */
ret
=
margo_addr_lookup
(
mid
,
argv
[
1
],
&
svr_addr
);
...
...
examples/multiplex/svc1-client.h
View file @
cd6d93c6
...
...
@@ -9,6 +9,8 @@
#include <margo.h>
int
svc1_register_client
(
margo_instance_id
mid
);
void
svc1_do_thing
(
margo_instance_id
mid
,
hg_addr_t
svr_addr
,
uint32_t
mplex_id
);
#endif
/* __SVC1_CLIENT */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment