MCPcopy Create free account
hub / github.com/corosync/corosync / cmap_exec_init_fn

Function cmap_exec_init_fn

exec/cmap.c:349–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347}
348
349static char *cmap_exec_init_fn (
350 struct corosync_api_v1 *corosync_api)
351{
352 cs_error_t ret;
353
354 api = corosync_api;
355
356 ret = icmap_track_add("totem.config_version",
357 ICMAP_TRACK_ADD | ICMAP_TRACK_DELETE | ICMAP_TRACK_MODIFY,
358 cmap_config_version_track_cb,
359 NULL,
360 &cmap_config_version_track);
361
362 if (ret != CS_OK) {
363 return ((char *)"Can't add config_version icmap tracker");
364 }
365
366 return (NULL);
367}
368
369static int cmap_lib_init_fn (void *conn)
370{

Callers

nothing calls this directly

Calls 1

icmap_track_addFunction · 0.85

Tested by

no test coverage detected