A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
win is not yet ready for warning removal
[simgrid.git]
/
include
/
xbt
/
lib.h
diff --git
a/include/xbt/lib.h
b/include/xbt/lib.h
index ec5db54cee9ab8c5bfccbc22ea7261c880280243..5139ff82640154e9413588eb8a46050d63a1eeb6 100644
(file)
--- a/
include/xbt/lib.h
+++ b/
include/xbt/lib.h
@@
-1,6
+1,6
@@
/* xbt/lib.h - api to a generic library */
/* xbt/lib.h - api to a generic library */
-/* Copyright (c) 2011. The SimGrid Team.
+/* Copyright (c) 2011
, 2013
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
@@
-28,6
+28,8
@@
XBT_PUBLIC(void) xbt_lib_set(xbt_lib_t lib, const char *name, int level,
void *obj);
XBT_PUBLIC(void *) xbt_lib_get_or_null(xbt_lib_t lib, const char *name,
int level);
void *obj);
XBT_PUBLIC(void *) xbt_lib_get_or_null(xbt_lib_t lib, const char *name,
int level);
+XBT_PUBLIC(xbt_dictelm_t) xbt_lib_get_elm_or_null(xbt_lib_t lib, const char *key);
+XBT_PUBLIC(void *) xbt_lib_get_level(xbt_dictelm_t elm, int level);
#define xbt_lib_length(lib) xbt_dict_length((lib)->dict)
#define xbt_lib_length(lib) xbt_dict_length((lib)->dict)