~ubuntu-branches/ubuntu/vivid/slurm-llnl/vivid

« back to all changes in this revision

Viewing changes to src/common/forward.h

  • Committer: Bazaar Package Importer
  • Author(s): Gennaro Oliva
  • Date: 2009-09-24 23:28:15 UTC
  • mfrom: (1.1.11 upstream) (3.2.4 sid)
  • Revision ID: james.westby@ubuntu.com-20090924232815-enh65jn32q1ebg07
Tags: 2.0.5-1
* New upstream release 
* Changed dependecy from lib-mysqlclient15 to lib-mysqlclient 
* Added Default-Start for runlevel 2 and 4 and $remote_fs requirement in
  init.d scripts (Closes: #541252)
* Postinst checks for wrong runlevels 2 and 4 links
* Upgraded to standard version 3.8.3
* Add lintian overrides for missing slurm-llnl-configurator.html in doc
  base registration
* modified postrm scripts to ignore pkill return value in order to avoid
  postrm failure when no slurm process is running
* Checking for slurmctld.pid before cancelling running and pending
  jobs during package removal 

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 *  Copyright (C) 2006 The Regents of the University of California.
7
7
 *  Produced at Lawrence Livermore National Laboratory (cf, DISCLAIMER).
8
8
 *  Written by Danny Auble <auble1@llnl.gov>
9
 
 *  LLNL-CODE-402394.
 
9
 *  CODE-OCEC-09-009. All rights reserved.
10
10
 *  
11
11
 *  This file is part of SLURM, a resource management program.
12
 
 *  For details, see <http://www.llnl.gov/linux/slurm/>.
 
12
 *  For details, see <https://computing.llnl.gov/linux/slurm/>.
 
13
 *  Please also read the included file: DISCLAIMER.
13
14
 *  
14
15
 *  SLURM is free software; you can redistribute it and/or modify it under
15
16
 *  the terms of the GNU General Public License as published by the Free
87
88
extern int forward_msg(forward_struct_t *forward_struct, 
88
89
                       header_t *header);
89
90
 
 
91
 
 
92
/*
 
93
 * start_msg_tree  - logic to begin the forward tree and
 
94
 *                   accumulate the return codes from processes getting the
 
95
 *                   the forwarded message
 
96
 *
 
97
 * IN: hl          - hostlist_t   - list of every node to send message to
 
98
 * IN: msg         - slurm_msg_t  - message to send.
 
99
 * IN: timeout     - int          - how long to wait in milliseconds.
 
100
 * RET List        - List containing the responses of the childern
 
101
 *                   (if any) we forwarded the message to. List
 
102
 *                   containing type (ret_data_info_t).
 
103
 */
 
104
extern List start_msg_tree(hostlist_t hl, slurm_msg_t *msg, int timeout);
 
105
 
90
106
/*
91
107
 * mark_as_failed_forward- mark a node as failed and add it to "ret_list"
92
108
 *
128
144
extern void destroy_data_info(void *object);
129
145
extern void destroy_forward(forward_t *forward);
130
146
extern void destroy_forward_struct(forward_struct_t *forward_struct);
131
 
extern void destroy_ret_types(void *object);
132
147
        
133
148
#endif