Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mobject-store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
mobject-store
Commits
75905650
Commit
75905650
authored
Oct 16, 2017
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of xgitlab.cels.anl.gov:sds/mobject-store
parents
d381a18e
1e1802d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
4 deletions
+29
-4
Makefile.am
Makefile.am
+11
-0
src/libmobject-store.c
src/libmobject-store.c
+18
-4
No files found.
Makefile.am
View file @
75905650
AUTOMAKE_OPTIONS
=
foreign
ACLOCAL_AMFLAGS
=
"-Im4"
EXTRA_DIST
=
prepare.sh
AM_CPPFLAGS
=
-I
$(top_srcdir)
/include
AM_CFLAGS
=
AM_CXXFLAGS
=
$(AM_CFLAGS)
lib_LTLIBRARIES
=
libmobject-store.la
libmobject_store_la_SOURCES
=
src/libmobject-store.c
\
include/mobject-store.h
include_HEADERS
=
include/mobject-store.h
libmobject_la_CPPFLAGS
=
-I
${srcdir}
/include
include
Make.rules
src/libmobject-store.c
View file @
75905650
...
...
@@ -4,6 +4,11 @@
* See COPYRIGHT in top-level directory.
*/
#include "mobject-conf.h"
#include <stdio.h>
#include <assert.h>
#include <margo.h>
#include <ssg.h>
...
...
@@ -25,7 +30,10 @@ int rados_create(rados_t *cluster, const char * const id)
return
(
-
1
);
/* TODO: error codes */
cluster_handle
->
test
=
123
;
/* XXX find the SSG group ID for the mobject cluster group */
/* TODO find the SSG group ID for the mobject cluster group */
/* set the returned cluster handle */
*
cluster
=
cluster_handle
;
return
(
0
);
}
...
...
@@ -33,14 +41,20 @@ int rados_create(rados_t *cluster, const char * const id)
#if 0
int mobject_store_connect(mobject_store_t cluster)
{
/*
XXX
ssg attach to mobject cluster group id */
/*
TODO
ssg attach to mobject cluster group id */
}
#endif
void
rados_shutdown
(
rados_t
cluster
)
{
/* XXX ssg detatch from mobject cluster group id */
struct
mobject_store_handle
*
cluster_handle
=
(
struct
mobject_store_handle
*
)
cluster
;
assert
(
cluster_handle
!=
NULL
);
/* TODO ssg detatch from mobject cluster group id */
free
(
cluster_handle
);
/* XXX free handle */
return
;
}
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