~ubuntu-branches/ubuntu/utopic/gridengine/utopic

« back to all changes in this revision

Viewing changes to source/daemons/qmaster/sge_sched_prepare_data.h

  • Committer: Bazaar Package Importer
  • Author(s): Mark Hymers
  • Date: 2008-06-25 22:36:13 UTC
  • Revision ID: james.westby@ubuntu.com-20080625223613-tvd9xlhuoct9kyhm
Tags: upstream-6.2~beta2
ImportĀ upstreamĀ versionĀ 6.2~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef SGE_SCHEDD_PREPARE_DATA
 
2
#define SGE_SCHEDD_PREPARE_DATA
 
3
/*___INFO__MARK_BEGIN__*/
 
4
/*************************************************************************
 
5
 * 
 
6
 *  The Contents of this file are made available subject to the terms of
 
7
 *  the Sun Industry Standards Source License Version 1.2
 
8
 * 
 
9
 *  Sun Microsystems Inc., March, 2001
 
10
 * 
 
11
 * 
 
12
 *  Sun Industry Standards Source License Version 1.2
 
13
 *  =================================================
 
14
 *  The contents of this file are subject to the Sun Industry Standards
 
15
 *  Source License Version 1.2 (the "License"); You may not use this file
 
16
 *  except in compliance with the License. You may obtain a copy of the
 
17
 *  License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
 
18
 * 
 
19
 *  Software provided under this License is provided on an "AS IS" basis,
 
20
 *  WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
 
21
 *  WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
 
22
 *  MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
 
23
 *  See the License for the specific provisions governing your rights and
 
24
 *  obligations concerning the Software.
 
25
 * 
 
26
 *   The Initial Developer of the Original Code is: Sun Microsystems, Inc.
 
27
 * 
 
28
 *   Copyright: 2001 by Sun Microsystems, Inc.
 
29
 * 
 
30
 *   All Rights Reserved.
 
31
 * 
 
32
 ************************************************************************/
 
33
/*___INFO__MARK_END__*/
 
34
 
 
35
#include "sge_event_client.h"
 
36
#include "sgeobj/sge_object.h"
 
37
#include "sge_mirror.h"
 
38
#include "cull.h"
 
39
 
 
40
typedef struct {
 
41
   lCondition *where_queue;
 
42
   lCondition *where_queue2;
 
43
   lCondition *where_all_queue;
 
44
   lCondition *where_cqueue;
 
45
   lCondition *where_job;
 
46
   lCondition *where_host;
 
47
   lCondition *where_dept;
 
48
   lCondition *where_acl;
 
49
   lCondition *where_jat;
 
50
 
 
51
   lEnumeration *what_queue;
 
52
   lEnumeration *what_queue2;
 
53
   lEnumeration *what_cqueue;
 
54
   lEnumeration *what_job;
 
55
   lEnumeration *what_host;
 
56
   lEnumeration *what_acl;
 
57
   lEnumeration *what_centry;
 
58
   lEnumeration *what_dept;
 
59
   lEnumeration *what_jat;
 
60
   lEnumeration *what_pet;
 
61
} sge_where_what_t;
 
62
 
 
63
void
 
64
set_rebuild_categories(bool new_value); 
 
65
 
 
66
bool
 
67
get_rebuild_categories(void); 
 
68
 
 
69
void 
 
70
ensure_valid_what_and_where(sge_where_what_t *where_what);
 
71
 
 
72
sge_callback_result
 
73
sge_process_project_event_before(sge_evc_class_t *evc, object_description *object_base, sge_object_type type,
 
74
                                 sge_event_action action, lListElem *event, void *clientdata);
 
75
 
 
76
sge_callback_result
 
77
sge_process_schedd_conf_event_before(sge_evc_class_t *evc, object_description *object_base, sge_object_type type,
 
78
                                     sge_event_action action, lListElem *event, void *clientdata);
 
79
 
 
80
sge_callback_result
 
81
sge_process_schedd_conf_event_after(sge_evc_class_t *evc, object_description *object_base, sge_object_type type,
 
82
                                    sge_event_action action, lListElem *event, void *clientdata);
 
83
 
 
84
sge_callback_result
 
85
sge_process_job_event_before(sge_evc_class_t *evc, object_description *object_base, sge_object_type type,
 
86
                             sge_event_action action, lListElem *event, void *clientdata);
 
87
 
 
88
sge_callback_result
 
89
sge_process_job_event_after(sge_evc_class_t *evc, object_description *object_base, sge_object_type type,
 
90
                            sge_event_action action, lListElem *event, void *clientdata);
 
91
 
 
92
sge_callback_result
 
93
sge_process_ja_task_event_before(sge_evc_class_t *evc, object_description *object_base, sge_object_type type,
 
94
                                 sge_event_action action, lListElem *event, void *clientdata);
 
95
 
 
96
sge_callback_result
 
97
sge_process_ja_task_event_after(sge_evc_class_t *evc, object_description *object_base, sge_object_type type,
 
98
                                sge_event_action action, lListElem *event, void *clientdata);
 
99
 
 
100
sge_callback_result
 
101
sge_process_global_config_event(sge_evc_class_t *evc, object_description *object_base, sge_object_type type,
 
102
                                sge_event_action action, lListElem *event, void *clientdata);
 
103
 
 
104
sge_callback_result
 
105
sge_process_schedd_monitor_event(sge_evc_class_t *evc, object_description *object_base, sge_object_type type,
 
106
                                 sge_event_action action, lListElem *event, void *clientdata);
 
107
 
 
108
sge_callback_result
 
109
sge_process_userset_event_before(sge_evc_class_t *evc, object_description *object_base,
 
110
                                 sge_object_type type, sge_event_action action, 
 
111
                                 lListElem *event, void *clientdata);
 
112
 
 
113
#endif /* SGE_SCHEDD_PREPARE_DATA */
 
114
 
 
115
 
 
116