/usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/util
NameSizeModeActions
alfg.h8320644editdlrm
arch.h86710644editdlrm
argv.h111640644editdlrm
basename.h30900644editdlrm
bipartite_graph.h54650644editdlrm
bipartite_graph_internal.h43660644editdlrm
bit_ops.h43980644editdlrm
cmd_line.h245790644editdlrm
crc.h45760644editdlrm
daemon_init.h16330644editdlrm
error.h35560644editdlrm
ethtool.h4170644editdlrm
fd.h29110644editdlrm
few.h22560644editdlrm
if.h71180644editdlrm
info.h112510644editdlrm
info_subscriber.h28880644editdlrm
keyval_parse.h19550644editdlrm
malloc.h47800644editdlrm
net.h46780644editdlrm
numtostr.h14430644editdlrm
opal_environ.h49430644editdlrm
opal_getcwd.h13260644editdlrm
opal_pty.h13820644editdlrm
os_dirpath.h48700644editdlrm
os_path.h32920644editdlrm
output.h215580644editdlrm
path.h55430644editdlrm
printf.h47060644editdlrm
proc.h65340644editdlrm
qsort.h10840644editdlrm
show_help.h73990644editdlrm
show_help_lex.h16860644editdlrm
stacktrace.h18760644editdlrm
strncpy.h11930644editdlrm
sys_limits.h17230644editdlrm
timings.h129120644editdlrm
uri.h30930644editdlrm
Edit: /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/opal/util/info_subscriber.h (2888B)
/* -*- Mode: C; c-basic-offset:4 ; indent-tabs-mode:nil -*- */ /* * Copyright (c) 2004-2010 The Trustees of Indiana University and Indiana * University Research and Technology * Corporation. All rights reserved. * Copyright (c) 2004-2007 The University of Tennessee and The University * of Tennessee Research Foundation. All rights * reserved. * Copyright (c) 2004-2005 High Performance Computing Center Stuttgart, * University of Stuttgart. All rights reserved. * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * Copyright (c) 2007-2012 Cisco Systems, Inc. All rights reserved. * Copyright (c) 2009 Sun Microsystems, Inc. All rights reserved. * Copyright (c) 2012-2015 Los Alamos National Security, LLC. All rights * reserved. * Copyright (c) 2017 IBM Corporation. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow * * $HEADER$ */ #ifndef OMPI_INFOSUBSCRIBE_H #define OMPI_INFOSUBSCRIBE_H #include #include "opal/class/opal_list.h" #include "opal/class/opal_pointer_array.h" #include "opal/class/opal_hash_table.h" #include "opal/threads/mutex.h" #include "opal/util/info.h" #include "opal/mca/base/mca_base_var_enum.h" #define INFO_SUBSCRIBER_SIZE 5 struct opal_infosubscriber_t { opal_object_t s_base; opal_hash_table_t s_subscriber_table; opal_info_t *s_info; }; typedef struct opal_infosubscriber_t opal_infosubscriber_t; OPAL_DECLSPEC OBJ_CLASS_DECLARATION(opal_infosubscriber_t); typedef char*(opal_key_interest_callback_t)(opal_infosubscriber_t*, char*, char*); /** * opal_infosubscribe_change_info - Make changes to a Comm/Win/File Info * * @param type Comm/Win/File * @param object corresponding Com/Win/File object * @param old_info previous info setting * @param new_info new info setting * * @retval OPAL status * * Notifies subscribers of info's that have gone away and new info settings */ int opal_infosubscribe_change_info(opal_infosubscriber_t*, opal_info_t *); /** * opal_infosubscribe_subscribe - Request to be updated about info changes to a Comm/Win/File Info * * @param type Comm/Win/File of obj * @param obj either a comm, win or file * @param key info key being set * @param initial_value default value (or NULL if none) * @param callback callback to be called when key changes * * @retval OPAL status * * Notifies subscribers of info's that have gone away and new info settings * Does not try to optimize settings that are the same between old and new * info's. */ int opal_infosubscribe_subscribe(opal_infosubscriber_t*, char *, char *, opal_key_interest_callback_t); #endif /* OMPI_INFO_H */