pbs_sys/
pbsffi.rs

1#![allow(unknown_lints)]
2#![allow(warnings)]
3#![allow(clippy)]
4#![allow(non_upper_case_globals)]
5#![allow(non_camel_case_types)]
6#![allow(non_snake_case)]
7#![allow(dead_code)]
8
9/* automatically generated by rust-bindgen 0.63.0 */
10
11#[repr(C)]
12pub struct __BindgenUnionField<T>(::std::marker::PhantomData<T>);
13impl<T> __BindgenUnionField<T> {
14    #[inline]
15    pub const fn new() -> Self {
16        __BindgenUnionField(::std::marker::PhantomData)
17    }
18    #[inline]
19    pub unsafe fn as_ref(&self) -> &T {
20        ::std::mem::transmute(self)
21    }
22    #[inline]
23    pub unsafe fn as_mut(&mut self) -> &mut T {
24        ::std::mem::transmute(self)
25    }
26}
27impl<T> ::std::default::Default for __BindgenUnionField<T> {
28    #[inline]
29    fn default() -> Self {
30        Self::new()
31    }
32}
33impl<T> ::std::clone::Clone for __BindgenUnionField<T> {
34    #[inline]
35    fn clone(&self) -> Self {
36        Self::new()
37    }
38}
39impl<T> ::std::marker::Copy for __BindgenUnionField<T> {}
40impl<T> ::std::fmt::Debug for __BindgenUnionField<T> {
41    fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
42        fmt.write_str("__BindgenUnionField")
43    }
44}
45impl<T> ::std::hash::Hash for __BindgenUnionField<T> {
46    fn hash<H: ::std::hash::Hasher>(&self, _state: &mut H) {}
47}
48impl<T> ::std::cmp::PartialEq for __BindgenUnionField<T> {
49    fn eq(&self, _other: &__BindgenUnionField<T>) -> bool {
50        true
51    }
52}
53impl<T> ::std::cmp::Eq for __BindgenUnionField<T> {}
54pub const PBSE_DONOTUSE1: u32 = 15360;
55pub const PBSE_DONOTUSE2: u32 = 15616;
56pub const PBSE_DONOTUSE3: u32 = 15872;
57pub const PBSE_DONOTUSE4: u32 = 16128;
58pub const PBSE_DONOTUSE5: u32 = 16384;
59pub const PBSE_: u32 = 15000;
60pub const PBSE_NONE: u32 = 0;
61pub const PBSE_UNKJOBID: u32 = 15001;
62pub const PBSE_NOATTR: u32 = 15002;
63pub const PBSE_ATTRRO: u32 = 15003;
64pub const PBSE_IVALREQ: u32 = 15004;
65pub const PBSE_UNKREQ: u32 = 15005;
66pub const PBSE_TOOMANY: u32 = 15006;
67pub const PBSE_PERM: u32 = 15007;
68pub const PBSE_BADHOST: u32 = 15008;
69pub const PBSE_JOBEXIST: u32 = 15009;
70pub const PBSE_SYSTEM: u32 = 15010;
71pub const PBSE_INTERNAL: u32 = 15011;
72pub const PBSE_REGROUTE: u32 = 15012;
73pub const PBSE_UNKSIG: u32 = 15013;
74pub const PBSE_BADATVAL: u32 = 15014;
75pub const PBSE_MODATRRUN: u32 = 15015;
76pub const PBSE_BADSTATE: u32 = 15016;
77pub const PBSE_UNKQUE: u32 = 15018;
78pub const PBSE_BADCRED: u32 = 15019;
79pub const PBSE_EXPIRED: u32 = 15020;
80pub const PBSE_QUNOENB: u32 = 15021;
81pub const PBSE_QACESS: u32 = 15022;
82pub const PBSE_BADUSER: u32 = 15023;
83pub const PBSE_HOPCOUNT: u32 = 15024;
84pub const PBSE_QUEEXIST: u32 = 15025;
85pub const PBSE_ATTRTYPE: u32 = 15026;
86pub const PBSE_OBJBUSY: u32 = 15027;
87pub const PBSE_QUENBIG: u32 = 15028;
88pub const PBSE_NOSUP: u32 = 15029;
89pub const PBSE_QUENOEN: u32 = 15030;
90pub const PBSE_PROTOCOL: u32 = 15031;
91pub const PBSE_BADATLST: u32 = 15032;
92pub const PBSE_NOCONNECTS: u32 = 15033;
93pub const PBSE_NOSERVER: u32 = 15034;
94pub const PBSE_UNKRESC: u32 = 15035;
95pub const PBSE_EXCQRESC: u32 = 15036;
96pub const PBSE_QUENODFLT: u32 = 15037;
97pub const PBSE_NORERUN: u32 = 15038;
98pub const PBSE_ROUTEREJ: u32 = 15039;
99pub const PBSE_ROUTEEXPD: u32 = 15040;
100pub const PBSE_MOMREJECT: u32 = 15041;
101pub const PBSE_BADSCRIPT: u32 = 15042;
102pub const PBSE_STAGEIN: u32 = 15043;
103pub const PBSE_RESCUNAV: u32 = 15044;
104pub const PBSE_BADGRP: u32 = 15045;
105pub const PBSE_MAXQUED: u32 = 15046;
106pub const PBSE_CKPBSY: u32 = 15047;
107pub const PBSE_EXLIMIT: u32 = 15048;
108pub const PBSE_BADACCT: u32 = 15049;
109pub const PBSE_ALRDYEXIT: u32 = 15050;
110pub const PBSE_NOCOPYFILE: u32 = 15051;
111pub const PBSE_CLEANEDOUT: u32 = 15052;
112pub const PBSE_NOSYNCMSTR: u32 = 15053;
113pub const PBSE_BADDEPEND: u32 = 15054;
114pub const PBSE_DUPLIST: u32 = 15055;
115pub const PBSE_DISPROTO: u32 = 15056;
116pub const PBSE_EXECTHERE: u32 = 15057;
117pub const PBSE_SISREJECT: u32 = 15058;
118pub const PBSE_SISCOMM: u32 = 15059;
119pub const PBSE_SVRDOWN: u32 = 15060;
120pub const PBSE_CKPSHORT: u32 = 15061;
121pub const PBSE_UNKNODE: u32 = 15062;
122pub const PBSE_UNKNODEATR: u32 = 15063;
123pub const PBSE_NONODES: u32 = 15064;
124pub const PBSE_NODENBIG: u32 = 15065;
125pub const PBSE_NODEEXIST: u32 = 15066;
126pub const PBSE_BADNDATVAL: u32 = 15067;
127pub const PBSE_MUTUALEX: u32 = 15068;
128pub const PBSE_GMODERR: u32 = 15069;
129pub const PBSE_NORELYMOM: u32 = 15070;
130pub const PBSE_NOTSNODE: u32 = 15071;
131pub const PBSE_RESV_NO_WALLTIME: u32 = 15075;
132pub const PBSE_JOBNOTRESV: u32 = 15076;
133pub const PBSE_TOOLATE: u32 = 15077;
134pub const PBSE_IRESVE: u32 = 15078;
135pub const PBSE_UNKRESVTYPE: u32 = 15079;
136pub const PBSE_RESVEXIST: u32 = 15080;
137pub const PBSE_resvFail: u32 = 15081;
138pub const PBSE_genBatchReq: u32 = 15082;
139pub const PBSE_mgrBatchReq: u32 = 15083;
140pub const PBSE_UNKRESVID: u32 = 15084;
141pub const PBSE_delProgress: u32 = 15085;
142pub const PBSE_BADTSPEC: u32 = 15086;
143pub const PBSE_RESVMSG: u32 = 15087;
144pub const PBSE_NOTRESV: u32 = 15088;
145pub const PBSE_BADNODESPEC: u32 = 15089;
146pub const PBSE_LICENSECPU: u32 = 15090;
147pub const PBSE_LICENSEINV: u32 = 15091;
148pub const PBSE_RESVAUTH_H: u32 = 15092;
149pub const PBSE_RESVAUTH_G: u32 = 15093;
150pub const PBSE_RESVAUTH_U: u32 = 15094;
151pub const PBSE_R_UID: u32 = 15095;
152pub const PBSE_R_GID: u32 = 15096;
153pub const PBSE_IBMSPSWITCH: u32 = 15097;
154pub const PBSE_LICENSEUNAV: u32 = 15098;
155pub const PBSE_NOSCHEDULER: u32 = 15099;
156pub const PBSE_RESCNOTSTR: u32 = 15100;
157pub const PBSE_MaxArraySize: u32 = 15107;
158pub const PBSE_INVALSELECTRESC: u32 = 15108;
159pub const PBSE_INVALJOBRESC: u32 = 15109;
160pub const PBSE_INVALNODEPLACE: u32 = 15110;
161pub const PBSE_PLACENOSELECT: u32 = 15111;
162pub const PBSE_INDIRECTHOP: u32 = 15112;
163pub const PBSE_INDIRECTBT: u32 = 15113;
164pub const PBSE_NGBLUEGENE: u32 = 15114;
165pub const PBSE_NODESTALE: u32 = 15115;
166pub const PBSE_DUPRESC: u32 = 15116;
167pub const PBSE_CONNFULL: u32 = 15117;
168pub const PBSE_LICENSE_MIN_BADVAL: u32 = 15118;
169pub const PBSE_LICENSE_MAX_BADVAL: u32 = 15119;
170pub const PBSE_LICENSE_LINGER_BADVAL: u32 = 15120;
171pub const PBSE_LICENSE_SERVER_DOWN: u32 = 15121;
172pub const PBSE_LICENSE_BAD_ACTION: u32 = 15122;
173pub const PBSE_BAD_FORMULA: u32 = 15123;
174pub const PBSE_BAD_FORMULA_KW: u32 = 15124;
175pub const PBSE_BAD_FORMULA_TYPE: u32 = 15125;
176pub const PBSE_BAD_RRULE_YEARLY: u32 = 15126;
177pub const PBSE_BAD_RRULE_MONTHLY: u32 = 15127;
178pub const PBSE_BAD_RRULE_WEEKLY: u32 = 15128;
179pub const PBSE_BAD_RRULE_DAILY: u32 = 15129;
180pub const PBSE_BAD_RRULE_HOURLY: u32 = 15130;
181pub const PBSE_BAD_RRULE_MINUTELY: u32 = 15131;
182pub const PBSE_BAD_RRULE_SECONDLY: u32 = 15132;
183pub const PBSE_BAD_RRULE_SYNTAX: u32 = 15133;
184pub const PBSE_BAD_RRULE_SYNTAX2: u32 = 15134;
185pub const PBSE_BAD_ICAL_TZ: u32 = 15135;
186pub const PBSE_HOOKERROR: u32 = 15136;
187pub const PBSE_NEEDQUET: u32 = 15137;
188pub const PBSE_ETEERROR: u32 = 15138;
189pub const PBSE_HISTJOBID: u32 = 15139;
190pub const PBSE_JOBHISTNOTSET: u32 = 15140;
191pub const PBSE_MIXENTLIMS: u32 = 15141;
192pub const PBSE_ENTLIMCT: u32 = 15142;
193pub const PBSE_ENTLIMRESC: u32 = 15143;
194pub const PBSE_ATVALERANGE: u32 = 15144;
195pub const PBSE_PROV_HEADERROR: u32 = 15145;
196pub const PBSE_NODEPROV_NOACTION: u32 = 15146;
197pub const PBSE_NODEPROV: u32 = 15147;
198pub const PBSE_NODEPROV_NODEL: u32 = 15148;
199pub const PBSE_NODE_BAD_CURRENT_AOE: u32 = 15149;
200pub const PBSE_NOLOOPBACKIF: u32 = 15153;
201pub const PBSE_IVAL_AOECHUNK: u32 = 15155;
202pub const PBSE_JOBINRESV_CONFLICT: u32 = 15156;
203pub const PBSE_NORUNALTEREDJOB: u32 = 15157;
204pub const PBSE_HISTJOBDELETED: u32 = 15158;
205pub const PBSE_NOHISTARRAYSUBJOB: u32 = 15159;
206pub const PBSE_FORCE_QSUB_UPDATE: u32 = 15160;
207pub const PBSE_SAVE_ERR: u32 = 15161;
208pub const PBSE_MAX_NO_MINWT: u32 = 15162;
209pub const PBSE_MIN_GT_MAXWT: u32 = 15163;
210pub const PBSE_NOSTF_RESV: u32 = 15164;
211pub const PBSE_NOSTF_JOBARRAY: u32 = 15165;
212pub const PBSE_NOLIMIT_RESOURCE: u32 = 15166;
213pub const PBSE_MOM_INCOMPLETE_HOOK: u32 = 15167;
214pub const PBSE_MOM_REJECT_ROOT_SCRIPTS: u32 = 15168;
215pub const PBSE_HOOK_REJECT: u32 = 15169;
216pub const PBSE_HOOK_REJECT_RERUNJOB: u32 = 15170;
217pub const PBSE_HOOK_REJECT_DELETEJOB: u32 = 15171;
218pub const PBSE_IVAL_OBJ_NAME: u32 = 15172;
219pub const PBSE_JOBNBIG: u32 = 15173;
220pub const PBSE_RESCBUSY: u32 = 15174;
221pub const PBSE_JOBSCRIPTMAXSIZE: u32 = 15175;
222pub const PBSE_BADJOBSCRIPTMAXSIZE: u32 = 15176;
223pub const PBSE_WRONG_RESUME: u32 = 15177;
224pub const PBSE_RESV_NOT_EMPTY: u32 = 15178;
225pub const PBSE_STDG_RESV_OCCR_CONFLICT: u32 = 15179;
226pub const PBSE_SOFTWT_STF: u32 = 15180;
227pub const PBSE_RESV_FROM_RESVJOB: u32 = 15181;
228pub const PBSE_RESV_FROM_ARRJOB: u32 = 15182;
229pub const PBSE_SELECT_NOT_SUBSET: u32 = 15183;
230pub const PBSE_RMUNKNOWN: u32 = 15201;
231pub const PBSE_RMBADPARAM: u32 = 15202;
232pub const PBSE_RMNOPARAM: u32 = 15203;
233pub const PBSE_RMEXIST: u32 = 15204;
234pub const PBSE_RMSYSTEM: u32 = 15205;
235pub const PBSE_RMPART: u32 = 15206;
236pub const RM_ERR_UNKNOWN: u32 = 15201;
237pub const RM_ERR_BADPARAM: u32 = 15202;
238pub const RM_ERR_NOPARAM: u32 = 15203;
239pub const RM_ERR_EXIST: u32 = 15204;
240pub const RM_ERR_SYSTEM: u32 = 15205;
241pub const PBSE_TRYAGAIN: u32 = 15208;
242pub const PBSE_ALPSRELERR: u32 = 15209;
243pub const PBSE_JOB_MOVED: u32 = 15210;
244pub const PBSE_SCHEDEXIST: u32 = 15211;
245pub const PBSE_SCHED_NAME_BIG: u32 = 15212;
246pub const PBSE_UNKSCHED: u32 = 15213;
247pub const PBSE_SCHED_NO_DEL: u32 = 15214;
248pub const PBSE_SCHED_PRIV_EXIST: u32 = 15215;
249pub const PBSE_SCHED_LOG_EXIST: u32 = 15216;
250pub const PBSE_ROUTE_QUE_NO_PARTITION: u32 = 15217;
251pub const PBSE_CANNOT_SET_ROUTE_QUE: u32 = 15218;
252pub const PBSE_QUE_NOT_IN_PARTITION: u32 = 15219;
253pub const PBSE_PARTITION_NOT_IN_QUE: u32 = 15220;
254pub const PBSE_INVALID_PARTITION_QUE: u32 = 15221;
255pub const PBSE_ALPS_SWITCH_ERR: u32 = 15222;
256pub const PBSE_SCHED_OP_NOT_PERMITTED: u32 = 15223;
257pub const PBSE_SCHED_PARTITION_ALREADY_EXISTS: u32 = 15224;
258pub const PBSE_INVALID_MAX_JOB_SEQUENCE_ID: u32 = 15225;
259pub const PBSE_SVR_SCHED_JSF_INCOMPAT: u32 = 15226;
260pub const PBSE_NODE_BUSY: u32 = 15227;
261pub const PBSE_DEFAULT_PARTITION: u32 = 15228;
262pub const PBSE_HISTDEPEND: u32 = 15229;
263pub const PBSE_NOTARRAY_ATTR: u32 = 15231;
264pub const _STDIO_H: u32 = 1;
265pub const _FEATURES_H: u32 = 1;
266pub const __USE_ANSI: u32 = 1;
267pub const _BSD_SOURCE: u32 = 1;
268pub const _SVID_SOURCE: u32 = 1;
269pub const __USE_ISOC11: u32 = 1;
270pub const __USE_ISOC99: u32 = 1;
271pub const __USE_ISOC95: u32 = 1;
272pub const _POSIX_SOURCE: u32 = 1;
273pub const _POSIX_C_SOURCE: u32 = 200809;
274pub const __USE_POSIX_IMPLICITLY: u32 = 1;
275pub const __USE_POSIX: u32 = 1;
276pub const __USE_POSIX2: u32 = 1;
277pub const __USE_POSIX199309: u32 = 1;
278pub const __USE_POSIX199506: u32 = 1;
279pub const __USE_XOPEN2K: u32 = 1;
280pub const __USE_XOPEN2K8: u32 = 1;
281pub const _ATFILE_SOURCE: u32 = 1;
282pub const __USE_MISC: u32 = 1;
283pub const __USE_BSD: u32 = 1;
284pub const __USE_SVID: u32 = 1;
285pub const __USE_ATFILE: u32 = 1;
286pub const __USE_FORTIFY_LEVEL: u32 = 0;
287pub const _STDC_PREDEF_H: u32 = 1;
288pub const __STDC_IEC_559__: u32 = 1;
289pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
290pub const __STDC_ISO_10646__: u32 = 201103;
291pub const __STDC_NO_THREADS__: u32 = 1;
292pub const __GNU_LIBRARY__: u32 = 6;
293pub const __GLIBC__: u32 = 2;
294pub const __GLIBC_MINOR__: u32 = 17;
295pub const __GLIBC_HAVE_LONG_LONG: u32 = 1;
296pub const _SYS_CDEFS_H: u32 = 1;
297pub const __WORDSIZE: u32 = 64;
298pub const __WORDSIZE_TIME64_COMPAT32: u32 = 1;
299pub const __SYSCALL_WORDSIZE: u32 = 64;
300pub const _BITS_TYPES_H: u32 = 1;
301pub const _BITS_TYPESIZES_H: u32 = 1;
302pub const __OFF_T_MATCHES_OFF64_T: u32 = 1;
303pub const __INO_T_MATCHES_INO64_T: u32 = 1;
304pub const __FD_SETSIZE: u32 = 1024;
305pub const __FILE_defined: u32 = 1;
306pub const ____FILE_defined: u32 = 1;
307pub const _G_config_h: u32 = 1;
308pub const ____mbstate_t_defined: u32 = 1;
309pub const _G_HAVE_MMAP: u32 = 1;
310pub const _G_HAVE_MREMAP: u32 = 1;
311pub const _G_IO_IO_FILE_VERSION: u32 = 131073;
312pub const _G_BUFSIZ: u32 = 8192;
313pub const _IO_BUFSIZ: u32 = 8192;
314pub const __GNUC_VA_LIST: u32 = 1;
315pub const _IO_UNIFIED_JUMPTABLES: u32 = 1;
316pub const EOF: i32 = -1;
317pub const _IOS_INPUT: u32 = 1;
318pub const _IOS_OUTPUT: u32 = 2;
319pub const _IOS_ATEND: u32 = 4;
320pub const _IOS_APPEND: u32 = 8;
321pub const _IOS_TRUNC: u32 = 16;
322pub const _IOS_NOCREATE: u32 = 32;
323pub const _IOS_NOREPLACE: u32 = 64;
324pub const _IOS_BIN: u32 = 128;
325pub const _IO_MAGIC: u32 = 4222418944;
326pub const _OLD_STDIO_MAGIC: u32 = 4206624768;
327pub const _IO_MAGIC_MASK: u32 = 4294901760;
328pub const _IO_USER_BUF: u32 = 1;
329pub const _IO_UNBUFFERED: u32 = 2;
330pub const _IO_NO_READS: u32 = 4;
331pub const _IO_NO_WRITES: u32 = 8;
332pub const _IO_EOF_SEEN: u32 = 16;
333pub const _IO_ERR_SEEN: u32 = 32;
334pub const _IO_DELETE_DONT_CLOSE: u32 = 64;
335pub const _IO_LINKED: u32 = 128;
336pub const _IO_IN_BACKUP: u32 = 256;
337pub const _IO_LINE_BUF: u32 = 512;
338pub const _IO_TIED_PUT_GET: u32 = 1024;
339pub const _IO_CURRENTLY_PUTTING: u32 = 2048;
340pub const _IO_IS_APPENDING: u32 = 4096;
341pub const _IO_IS_FILEBUF: u32 = 8192;
342pub const _IO_BAD_SEEN: u32 = 16384;
343pub const _IO_USER_LOCK: u32 = 32768;
344pub const _IO_FLAGS2_MMAP: u32 = 1;
345pub const _IO_FLAGS2_NOTCANCEL: u32 = 2;
346pub const _IO_FLAGS2_USER_WBUF: u32 = 8;
347pub const _IO_SKIPWS: u32 = 1;
348pub const _IO_LEFT: u32 = 2;
349pub const _IO_RIGHT: u32 = 4;
350pub const _IO_INTERNAL: u32 = 8;
351pub const _IO_DEC: u32 = 16;
352pub const _IO_OCT: u32 = 32;
353pub const _IO_HEX: u32 = 64;
354pub const _IO_SHOWBASE: u32 = 128;
355pub const _IO_SHOWPOINT: u32 = 256;
356pub const _IO_UPPERCASE: u32 = 512;
357pub const _IO_SHOWPOS: u32 = 1024;
358pub const _IO_SCIENTIFIC: u32 = 2048;
359pub const _IO_FIXED: u32 = 4096;
360pub const _IO_UNITBUF: u32 = 8192;
361pub const _IO_STDIO: u32 = 16384;
362pub const _IO_DONT_CLOSE: u32 = 32768;
363pub const _IO_BOOLALPHA: u32 = 65536;
364pub const _IOFBF: u32 = 0;
365pub const _IOLBF: u32 = 1;
366pub const _IONBF: u32 = 2;
367pub const BUFSIZ: u32 = 8192;
368pub const SEEK_SET: u32 = 0;
369pub const SEEK_CUR: u32 = 1;
370pub const SEEK_END: u32 = 2;
371pub const P_tmpdir: &[u8; 5usize] = b"/tmp\0";
372pub const L_tmpnam: u32 = 20;
373pub const TMP_MAX: u32 = 238328;
374pub const FILENAME_MAX: u32 = 4096;
375pub const L_ctermid: u32 = 9;
376pub const FOPEN_MAX: u32 = 16;
377pub const _TIME_H: u32 = 1;
378pub const _BITS_TIME_H: u32 = 1;
379pub const CLOCKS_PER_SEC: u32 = 1000000;
380pub const CLOCK_REALTIME: u32 = 0;
381pub const CLOCK_MONOTONIC: u32 = 1;
382pub const CLOCK_PROCESS_CPUTIME_ID: u32 = 2;
383pub const CLOCK_THREAD_CPUTIME_ID: u32 = 3;
384pub const CLOCK_MONOTONIC_RAW: u32 = 4;
385pub const CLOCK_REALTIME_COARSE: u32 = 5;
386pub const CLOCK_MONOTONIC_COARSE: u32 = 6;
387pub const CLOCK_BOOTTIME: u32 = 7;
388pub const CLOCK_REALTIME_ALARM: u32 = 8;
389pub const CLOCK_BOOTTIME_ALARM: u32 = 9;
390pub const CLOCK_TAI: u32 = 11;
391pub const TIMER_ABSTIME: u32 = 1;
392pub const __clock_t_defined: u32 = 1;
393pub const __time_t_defined: u32 = 1;
394pub const __clockid_t_defined: u32 = 1;
395pub const __timer_t_defined: u32 = 1;
396pub const __timespec_defined: u32 = 1;
397pub const TIME_UTC: u32 = 1;
398pub const _XLOCALE_H: u32 = 1;
399pub const TYPE_ATTR_READONLY: u32 = 1;
400pub const TYPE_ATTR_PUBLIC: u32 = 2;
401pub const TYPE_ATTR_INVISIBLE: u32 = 4;
402pub const TYPE_ATTR_ALL: u32 = 7;
403pub const ATTR_a: &[u8; 15usize] = b"Execution_Time\0";
404pub const ATTR_c: &[u8; 11usize] = b"Checkpoint\0";
405pub const ATTR_e: &[u8; 11usize] = b"Error_Path\0";
406pub const ATTR_g: &[u8; 11usize] = b"group_list\0";
407pub const ATTR_h: &[u8; 11usize] = b"Hold_Types\0";
408pub const ATTR_j: &[u8; 10usize] = b"Join_Path\0";
409pub const ATTR_J: &[u8; 24usize] = b"array_indices_submitted\0";
410pub const ATTR_k: &[u8; 11usize] = b"Keep_Files\0";
411pub const ATTR_l: &[u8; 14usize] = b"Resource_List\0";
412pub const ATTR_l_orig: &[u8; 19usize] = b"Resource_List_orig\0";
413pub const ATTR_l_acct: &[u8; 19usize] = b"Resource_List_acct\0";
414pub const ATTR_m: &[u8; 12usize] = b"Mail_Points\0";
415pub const ATTR_o: &[u8; 12usize] = b"Output_Path\0";
416pub const ATTR_p: &[u8; 9usize] = b"Priority\0";
417pub const ATTR_q: &[u8; 12usize] = b"destination\0";
418pub const ATTR_R: &[u8; 13usize] = b"Remove_Files\0";
419pub const ATTR_r: &[u8; 10usize] = b"Rerunable\0";
420pub const ATTR_u: &[u8; 10usize] = b"User_List\0";
421pub const ATTR_v: &[u8; 14usize] = b"Variable_List\0";
422pub const ATTR_A: &[u8; 13usize] = b"Account_Name\0";
423pub const ATTR_M: &[u8; 11usize] = b"Mail_Users\0";
424pub const ATTR_N: &[u8; 9usize] = b"Job_Name\0";
425pub const ATTR_S: &[u8; 16usize] = b"Shell_Path_List\0";
426pub const ATTR_array_indices_submitted: &[u8; 24usize] = b"array_indices_submitted\0";
427pub const ATTR_depend: &[u8; 7usize] = b"depend\0";
428pub const ATTR_inter: &[u8; 12usize] = b"interactive\0";
429pub const ATTR_sandbox: &[u8; 8usize] = b"sandbox\0";
430pub const ATTR_stagein: &[u8; 8usize] = b"stagein\0";
431pub const ATTR_stageout: &[u8; 9usize] = b"stageout\0";
432pub const ATTR_resvTag: &[u8; 12usize] = b"reserve_Tag\0";
433pub const ATTR_resv_start: &[u8; 14usize] = b"reserve_start\0";
434pub const ATTR_resv_end: &[u8; 12usize] = b"reserve_end\0";
435pub const ATTR_resv_duration: &[u8; 17usize] = b"reserve_duration\0";
436pub const ATTR_resv_state: &[u8; 14usize] = b"reserve_state\0";
437pub const ATTR_resv_substate: &[u8; 17usize] = b"reserve_substate\0";
438pub const ATTR_resv_job: &[u8; 12usize] = b"reserve_job\0";
439pub const ATTR_auth_u: &[u8; 17usize] = b"Authorized_Users\0";
440pub const ATTR_auth_g: &[u8; 18usize] = b"Authorized_Groups\0";
441pub const ATTR_auth_h: &[u8; 17usize] = b"Authorized_Hosts\0";
442pub const ATTR_cred: &[u8; 5usize] = b"cred\0";
443pub const ATTR_nodemux: &[u8; 17usize] = b"no_stdio_sockets\0";
444pub const ATTR_umask: &[u8; 6usize] = b"umask\0";
445pub const ATTR_block: &[u8; 6usize] = b"block\0";
446pub const ATTR_convert: &[u8; 6usize] = b"qmove\0";
447pub const ATTR_DefaultChunk: &[u8; 14usize] = b"default_chunk\0";
448pub const ATTR_X11_cookie: &[u8; 19usize] = b"forward_x11_cookie\0";
449pub const ATTR_X11_port: &[u8; 17usize] = b"forward_x11_port\0";
450pub const ATTR_GUI: &[u8; 4usize] = b"gui\0";
451pub const ATTR_max_run_subjobs: &[u8; 16usize] = b"max_run_subjobs\0";
452pub const ATTR_resv_standing: &[u8; 17usize] = b"reserve_standing\0";
453pub const ATTR_resv_count: &[u8; 14usize] = b"reserve_count\0";
454pub const ATTR_resv_idx: &[u8; 14usize] = b"reserve_index\0";
455pub const ATTR_resv_rrule: &[u8; 14usize] = b"reserve_rrule\0";
456pub const ATTR_resv_execvnodes: &[u8; 19usize] = b"reserve_execvnodes\0";
457pub const ATTR_resv_timezone: &[u8; 17usize] = b"reserve_timezone\0";
458pub const ATTR_ctime: &[u8; 6usize] = b"ctime\0";
459pub const ATTR_estimated: &[u8; 10usize] = b"estimated\0";
460pub const ATTR_exechost: &[u8; 10usize] = b"exec_host\0";
461pub const ATTR_exechost_acct: &[u8; 15usize] = b"exec_host_acct\0";
462pub const ATTR_exechost_orig: &[u8; 15usize] = b"exec_host_orig\0";
463pub const ATTR_exechost2: &[u8; 11usize] = b"exec_host2\0";
464pub const ATTR_execvnode: &[u8; 11usize] = b"exec_vnode\0";
465pub const ATTR_execvnode_acct: &[u8; 16usize] = b"exec_vnode_acct\0";
466pub const ATTR_execvnode_deallocated: &[u8; 23usize] = b"exec_vnode_deallocated\0";
467pub const ATTR_execvnode_orig: &[u8; 16usize] = b"exec_vnode_orig\0";
468pub const ATTR_resv_nodes: &[u8; 11usize] = b"resv_nodes\0";
469pub const ATTR_mtime: &[u8; 6usize] = b"mtime\0";
470pub const ATTR_qtime: &[u8; 6usize] = b"qtime\0";
471pub const ATTR_session: &[u8; 11usize] = b"session_id\0";
472pub const ATTR_jobdir: &[u8; 7usize] = b"jobdir\0";
473pub const ATTR_euser: &[u8; 6usize] = b"euser\0";
474pub const ATTR_egroup: &[u8; 7usize] = b"egroup\0";
475pub const ATTR_project: &[u8; 8usize] = b"project\0";
476pub const ATTR_hashname: &[u8; 9usize] = b"hashname\0";
477pub const ATTR_hopcount: &[u8; 10usize] = b"hop_count\0";
478pub const ATTR_security: &[u8; 9usize] = b"security\0";
479pub const ATTR_sched_hint: &[u8; 11usize] = b"sched_hint\0";
480pub const ATTR_SchedSelect: &[u8; 12usize] = b"schedselect\0";
481pub const ATTR_SchedSelect_orig: &[u8; 17usize] = b"schedselect_orig\0";
482pub const ATTR_substate: &[u8; 9usize] = b"substate\0";
483pub const ATTR_name: &[u8; 9usize] = b"Job_Name\0";
484pub const ATTR_owner: &[u8; 10usize] = b"Job_Owner\0";
485pub const ATTR_used: &[u8; 15usize] = b"resources_used\0";
486pub const ATTR_used_acct: &[u8; 20usize] = b"resources_used_acct\0";
487pub const ATTR_used_update: &[u8; 22usize] = b"resources_used_update\0";
488pub const ATTR_relnodes_on_stageout: &[u8; 26usize] = b"release_nodes_on_stageout\0";
489pub const ATTR_tolerate_node_failures: &[u8; 23usize] = b"tolerate_node_failures\0";
490pub const ATTR_released: &[u8; 19usize] = b"resources_released\0";
491pub const ATTR_rel_list: &[u8; 23usize] = b"resource_released_list\0";
492pub const ATTR_state: &[u8; 10usize] = b"job_state\0";
493pub const ATTR_queue: &[u8; 6usize] = b"queue\0";
494pub const ATTR_server: &[u8; 7usize] = b"server\0";
495pub const ATTR_maxrun: &[u8; 12usize] = b"max_running\0";
496pub const ATTR_max_run: &[u8; 8usize] = b"max_run\0";
497pub const ATTR_max_run_res: &[u8; 12usize] = b"max_run_res\0";
498pub const ATTR_max_run_soft: &[u8; 13usize] = b"max_run_soft\0";
499pub const ATTR_max_run_res_soft: &[u8; 17usize] = b"max_run_res_soft\0";
500pub const ATTR_total: &[u8; 11usize] = b"total_jobs\0";
501pub const ATTR_comment: &[u8; 8usize] = b"comment\0";
502pub const ATTR_cookie: &[u8; 7usize] = b"cookie\0";
503pub const ATTR_qrank: &[u8; 11usize] = b"queue_rank\0";
504pub const ATTR_altid: &[u8; 7usize] = b"alt_id\0";
505pub const ATTR_altid2: &[u8; 8usize] = b"alt_id2\0";
506pub const ATTR_acct_id: &[u8; 14usize] = b"accounting_id\0";
507pub const ATTR_array: &[u8; 6usize] = b"array\0";
508pub const ATTR_array_id: &[u8; 9usize] = b"array_id\0";
509pub const ATTR_array_index: &[u8; 12usize] = b"array_index\0";
510pub const ATTR_array_state_count: &[u8; 18usize] = b"array_state_count\0";
511pub const ATTR_array_indices_remaining: &[u8; 24usize] = b"array_indices_remaining\0";
512pub const ATTR_etime: &[u8; 6usize] = b"etime\0";
513pub const ATTR_gridname: &[u8; 9usize] = b"gridname\0";
514pub const ATTR_refresh: &[u8; 21usize] = b"last_context_refresh\0";
515pub const ATTR_ReqCredEnable: &[u8; 20usize] = b"require_cred_enable\0";
516pub const ATTR_ReqCred: &[u8; 13usize] = b"require_cred\0";
517pub const ATTR_runcount: &[u8; 10usize] = b"run_count\0";
518pub const ATTR_run_version: &[u8; 12usize] = b"run_version\0";
519pub const ATTR_stime: &[u8; 6usize] = b"stime\0";
520pub const ATTR_pset: &[u8; 5usize] = b"pset\0";
521pub const ATTR_executable: &[u8; 11usize] = b"executable\0";
522pub const ATTR_Arglist: &[u8; 14usize] = b"argument_list\0";
523pub const ATTR_version: &[u8; 12usize] = b"pbs_version\0";
524pub const ATTR_eligible_time: &[u8; 14usize] = b"eligible_time\0";
525pub const ATTR_accrue_type: &[u8; 12usize] = b"accrue_type\0";
526pub const ATTR_sample_starttime: &[u8; 17usize] = b"sample_starttime\0";
527pub const ATTR_job_kill_delay: &[u8; 15usize] = b"job_kill_delay\0";
528pub const ATTR_topjob_ineligible: &[u8; 18usize] = b"topjob_ineligible\0";
529pub const ATTR_submit_host: &[u8; 12usize] = b"Submit_Host\0";
530pub const ATTR_cred_id: &[u8; 14usize] = b"credential_id\0";
531pub const ATTR_security_context: &[u8; 17usize] = b"security_context\0";
532pub const ATTR_cred_validity: &[u8; 20usize] = b"credential_validity\0";
533pub const ATTR_history_timestamp: &[u8; 18usize] = b"history_timestamp\0";
534pub const ATTR_create_resv_from_job: &[u8; 21usize] = b"create_resv_from_job\0";
535pub const ATTR_stageout_status: &[u8; 16usize] = b"Stageout_status\0";
536pub const ATTR_exit_status: &[u8; 12usize] = b"Exit_status\0";
537pub const ATTR_submit_arguments: &[u8; 17usize] = b"Submit_arguments\0";
538pub const ATTR_resv_name: &[u8; 13usize] = b"Reserve_Name\0";
539pub const ATTR_resv_owner: &[u8; 14usize] = b"Reserve_Owner\0";
540pub const ATTR_resv_type: &[u8; 13usize] = b"reserve_type\0";
541pub const ATTR_resv_Tag: &[u8; 16usize] = b"reservation_Tag\0";
542pub const ATTR_resv_ID: &[u8; 11usize] = b"reserve_ID\0";
543pub const ATTR_resv_retry: &[u8; 14usize] = b"reserve_retry\0";
544pub const ATTR_del_idle_time: &[u8; 17usize] = b"delete_idle_time\0";
545pub const ATTR_aclgren: &[u8; 17usize] = b"acl_group_enable\0";
546pub const ATTR_aclgroup: &[u8; 11usize] = b"acl_groups\0";
547pub const ATTR_aclhten: &[u8; 16usize] = b"acl_host_enable\0";
548pub const ATTR_aclhost: &[u8; 10usize] = b"acl_hosts\0";
549pub const ATTR_aclhostmomsen: &[u8; 21usize] = b"acl_host_moms_enable\0";
550pub const ATTR_acluren: &[u8; 16usize] = b"acl_user_enable\0";
551pub const ATTR_acluser: &[u8; 10usize] = b"acl_users\0";
552pub const ATTR_altrouter: &[u8; 11usize] = b"alt_router\0";
553pub const ATTR_chkptmin: &[u8; 15usize] = b"checkpoint_min\0";
554pub const ATTR_enable: &[u8; 8usize] = b"enabled\0";
555pub const ATTR_fromroute: &[u8; 16usize] = b"from_route_only\0";
556pub const ATTR_HasNodes: &[u8; 9usize] = b"hasnodes\0";
557pub const ATTR_killdelay: &[u8; 11usize] = b"kill_delay\0";
558pub const ATTR_maxgrprun: &[u8; 14usize] = b"max_group_run\0";
559pub const ATTR_maxgrprunsoft: &[u8; 19usize] = b"max_group_run_soft\0";
560pub const ATTR_maxque: &[u8; 13usize] = b"max_queuable\0";
561pub const ATTR_max_queued: &[u8; 11usize] = b"max_queued\0";
562pub const ATTR_max_queued_res: &[u8; 15usize] = b"max_queued_res\0";
563pub const ATTR_queued_jobs_threshold: &[u8; 22usize] = b"queued_jobs_threshold\0";
564pub const ATTR_queued_jobs_threshold_res: &[u8; 26usize] = b"queued_jobs_threshold_res\0";
565pub const ATTR_maxuserrun: &[u8; 13usize] = b"max_user_run\0";
566pub const ATTR_maxuserrunsoft: &[u8; 18usize] = b"max_user_run_soft\0";
567pub const ATTR_qtype: &[u8; 11usize] = b"queue_type\0";
568pub const ATTR_rescassn: &[u8; 19usize] = b"resources_assigned\0";
569pub const ATTR_rescdflt: &[u8; 18usize] = b"resources_default\0";
570pub const ATTR_rescmax: &[u8; 14usize] = b"resources_max\0";
571pub const ATTR_rescmin: &[u8; 14usize] = b"resources_min\0";
572pub const ATTR_rndzretry: &[u8; 17usize] = b"rendezvous_retry\0";
573pub const ATTR_routedest: &[u8; 19usize] = b"route_destinations\0";
574pub const ATTR_routeheld: &[u8; 16usize] = b"route_held_jobs\0";
575pub const ATTR_routewait: &[u8; 19usize] = b"route_waiting_jobs\0";
576pub const ATTR_routeretry: &[u8; 17usize] = b"route_retry_time\0";
577pub const ATTR_routelife: &[u8; 15usize] = b"route_lifetime\0";
578pub const ATTR_rsvexpdt: &[u8; 18usize] = b"reserved_expedite\0";
579pub const ATTR_rsvsync: &[u8; 14usize] = b"reserved_sync\0";
580pub const ATTR_start: &[u8; 8usize] = b"started\0";
581pub const ATTR_count: &[u8; 12usize] = b"state_count\0";
582pub const ATTR_number: &[u8; 12usize] = b"number_jobs\0";
583pub const ATTR_jobscript_max_size: &[u8; 19usize] = b"jobscript_max_size\0";
584pub const ATTR_SvrHost: &[u8; 12usize] = b"server_host\0";
585pub const ATTR_aclroot: &[u8; 10usize] = b"acl_roots\0";
586pub const ATTR_managers: &[u8; 9usize] = b"managers\0";
587pub const ATTR_dfltque: &[u8; 14usize] = b"default_queue\0";
588pub const ATTR_defnode: &[u8; 13usize] = b"default_node\0";
589pub const ATTR_locsvrs: &[u8; 17usize] = b"location_servers\0";
590pub const ATTR_logevents: &[u8; 11usize] = b"log_events\0";
591pub const ATTR_logfile: &[u8; 9usize] = b"log_file\0";
592pub const ATTR_mailfrom: &[u8; 10usize] = b"mail_from\0";
593pub const ATTR_nodepack: &[u8; 10usize] = b"node_pack\0";
594pub const ATTR_nodefailrq: &[u8; 18usize] = b"node_fail_requeue\0";
595pub const ATTR_operators: &[u8; 10usize] = b"operators\0";
596pub const ATTR_queryother: &[u8; 17usize] = b"query_other_jobs\0";
597pub const ATTR_resccost: &[u8; 15usize] = b"resources_cost\0";
598pub const ATTR_rescavail: &[u8; 20usize] = b"resources_available\0";
599pub const ATTR_maxuserres: &[u8; 13usize] = b"max_user_res\0";
600pub const ATTR_maxuserressoft: &[u8; 18usize] = b"max_user_res_soft\0";
601pub const ATTR_maxgroupres: &[u8; 14usize] = b"max_group_res\0";
602pub const ATTR_maxgroupressoft: &[u8; 19usize] = b"max_group_res_soft\0";
603pub const ATTR_maxarraysize: &[u8; 15usize] = b"max_array_size\0";
604pub const ATTR_PNames: &[u8; 7usize] = b"pnames\0";
605pub const ATTR_schediteration: &[u8; 20usize] = b"scheduler_iteration\0";
606pub const ATTR_scheduling: &[u8; 11usize] = b"scheduling\0";
607pub const ATTR_status: &[u8; 13usize] = b"server_state\0";
608pub const ATTR_syscost: &[u8; 12usize] = b"system_cost\0";
609pub const ATTR_FlatUID: &[u8; 8usize] = b"flatuid\0";
610pub const ATTR_ResvEnable: &[u8; 12usize] = b"resv_enable\0";
611pub const ATTR_aclResvgren: &[u8; 22usize] = b"acl_resv_group_enable\0";
612pub const ATTR_aclResvgroup: &[u8; 16usize] = b"acl_resv_groups\0";
613pub const ATTR_aclResvhten: &[u8; 21usize] = b"acl_resv_host_enable\0";
614pub const ATTR_aclResvhost: &[u8; 15usize] = b"acl_resv_hosts\0";
615pub const ATTR_aclResvuren: &[u8; 21usize] = b"acl_resv_user_enable\0";
616pub const ATTR_aclResvuser: &[u8; 15usize] = b"acl_resv_users\0";
617pub const ATTR_NodeGroupEnable: &[u8; 18usize] = b"node_group_enable\0";
618pub const ATTR_NodeGroupKey: &[u8; 15usize] = b"node_group_key\0";
619pub const ATTR_dfltqdelargs: &[u8; 23usize] = b"default_qdel_arguments\0";
620pub const ATTR_dfltqsubargs: &[u8; 23usize] = b"default_qsub_arguments\0";
621pub const ATTR_rpp_retry: &[u8; 10usize] = b"rpp_retry\0";
622pub const ATTR_rpp_highwater: &[u8; 14usize] = b"rpp_highwater\0";
623pub const ATTR_pbs_license_info: &[u8; 17usize] = b"pbs_license_info\0";
624pub const ATTR_license_min: &[u8; 16usize] = b"pbs_license_min\0";
625pub const ATTR_license_max: &[u8; 16usize] = b"pbs_license_max\0";
626pub const ATTR_license_linger: &[u8; 24usize] = b"pbs_license_linger_time\0";
627pub const ATTR_license_count: &[u8; 14usize] = b"license_count\0";
628pub const ATTR_job_sort_formula: &[u8; 17usize] = b"job_sort_formula\0";
629pub const ATTR_EligibleTimeEnable: &[u8; 21usize] = b"eligible_time_enable\0";
630pub const ATTR_resv_retry_time: &[u8; 19usize] = b"reserve_retry_time\0";
631pub const ATTR_resv_retry_init: &[u8; 19usize] = b"reserve_retry_init\0";
632pub const ATTR_JobHistoryEnable: &[u8; 19usize] = b"job_history_enable\0";
633pub const ATTR_JobHistoryDuration: &[u8; 21usize] = b"job_history_duration\0";
634pub const ATTR_max_concurrent_prov: &[u8; 25usize] = b"max_concurrent_provision\0";
635pub const ATTR_resv_post_processing: &[u8; 26usize] = b"resv_post_processing_time\0";
636pub const ATTR_backfill_depth: &[u8; 15usize] = b"backfill_depth\0";
637pub const ATTR_job_requeue_timeout: &[u8; 20usize] = b"job_requeue_timeout\0";
638pub const ATTR_show_hidden_attribs: &[u8; 20usize] = b"show_hidden_attribs\0";
639pub const ATTR_python_restart_max_hooks: &[u8; 25usize] = b"python_restart_max_hooks\0";
640pub const ATTR_python_restart_max_objects: &[u8; 27usize] = b"python_restart_max_objects\0";
641pub const ATTR_python_restart_min_interval: &[u8; 28usize] = b"python_restart_min_interval\0";
642pub const ATTR_power_provisioning: &[u8; 19usize] = b"power_provisioning\0";
643pub const ATTR_sync_mom_hookfiles_timeout: &[u8; 27usize] = b"sync_mom_hookfiles_timeout\0";
644pub const ATTR_max_job_sequence_id: &[u8; 20usize] = b"max_job_sequence_id\0";
645pub const ATTR_acl_krb_realm_enable: &[u8; 21usize] = b"acl_krb_realm_enable\0";
646pub const ATTR_acl_krb_realms: &[u8; 15usize] = b"acl_krb_realms\0";
647pub const ATTR_acl_krb_submit_realms: &[u8; 22usize] = b"acl_krb_submit_realms\0";
648pub const ATTR_cred_renew_enable: &[u8; 18usize] = b"cred_renew_enable\0";
649pub const ATTR_cred_renew_tool: &[u8; 16usize] = b"cred_renew_tool\0";
650pub const ATTR_cred_renew_period: &[u8; 18usize] = b"cred_renew_period\0";
651pub const ATTR_cred_renew_cache_period: &[u8; 24usize] = b"cred_renew_cache_period\0";
652pub const ATTR_rpp_max_pkt_check: &[u8; 18usize] = b"rpp_max_pkt_check\0";
653pub const ATTR_SchedHost: &[u8; 11usize] = b"sched_host\0";
654pub const ATTR_sched_cycle_len: &[u8; 19usize] = b"sched_cycle_length\0";
655pub const ATTR_do_not_span_psets: &[u8; 18usize] = b"do_not_span_psets\0";
656pub const ATTR_only_explicit_psets: &[u8; 20usize] = b"only_explicit_psets\0";
657pub const ATTR_sched_preempt_enforce_resumption: &[u8; 33usize] =
658    b"sched_preempt_enforce_resumption\0";
659pub const ATTR_preempt_targets_enable: &[u8; 23usize] = b"preempt_targets_enable\0";
660pub const ATTR_job_sort_formula_threshold: &[u8; 27usize] = b"job_sort_formula_threshold\0";
661pub const ATTR_throughput_mode: &[u8; 16usize] = b"throughput_mode\0";
662pub const ATTR_opt_backfill_fuzzy: &[u8; 19usize] = b"opt_backfill_fuzzy\0";
663pub const ATTR_sched_port: &[u8; 11usize] = b"sched_port\0";
664pub const ATTR_partition: &[u8; 10usize] = b"partition\0";
665pub const ATTR_sched_priv: &[u8; 11usize] = b"sched_priv\0";
666pub const ATTR_sched_log: &[u8; 10usize] = b"sched_log\0";
667pub const ATTR_sched_user: &[u8; 11usize] = b"sched_user\0";
668pub const ATTR_sched_state: &[u8; 6usize] = b"state\0";
669pub const ATTR_sched_preempt_queue_prio: &[u8; 19usize] = b"preempt_queue_prio\0";
670pub const ATTR_sched_preempt_prio: &[u8; 13usize] = b"preempt_prio\0";
671pub const ATTR_sched_preempt_order: &[u8; 14usize] = b"preempt_order\0";
672pub const ATTR_sched_preempt_sort: &[u8; 13usize] = b"preempt_sort\0";
673pub const ATTR_sched_server_dyn_res_alarm: &[u8; 21usize] = b"server_dyn_res_alarm\0";
674pub const ATTR_NODE_Host: &[u8; 5usize] = b"Host\0";
675pub const ATTR_NODE_Mom: &[u8; 4usize] = b"Mom\0";
676pub const ATTR_NODE_Port: &[u8; 5usize] = b"Port\0";
677pub const ATTR_NODE_state: &[u8; 6usize] = b"state\0";
678pub const ATTR_NODE_ntype: &[u8; 6usize] = b"ntype\0";
679pub const ATTR_NODE_jobs: &[u8; 5usize] = b"jobs\0";
680pub const ATTR_NODE_resvs: &[u8; 5usize] = b"resv\0";
681pub const ATTR_NODE_resv_enable: &[u8; 12usize] = b"resv_enable\0";
682pub const ATTR_NODE_np: &[u8; 3usize] = b"np\0";
683pub const ATTR_NODE_pcpus: &[u8; 6usize] = b"pcpus\0";
684pub const ATTR_NODE_properties: &[u8; 11usize] = b"properties\0";
685pub const ATTR_NODE_NoMultiNode: &[u8; 18usize] = b"no_multinode_jobs\0";
686pub const ATTR_NODE_No_Tasks: &[u8; 9usize] = b"no_tasks\0";
687pub const ATTR_NODE_Sharing: &[u8; 8usize] = b"sharing\0";
688pub const ATTR_NODE_ProvisionEnable: &[u8; 17usize] = b"provision_enable\0";
689pub const ATTR_NODE_current_aoe: &[u8; 12usize] = b"current_aoe\0";
690pub const ATTR_NODE_in_multivnode_host: &[u8; 19usize] = b"in_multivnode_host\0";
691pub const ATTR_NODE_License: &[u8; 8usize] = b"license\0";
692pub const ATTR_NODE_LicenseInfo: &[u8; 13usize] = b"license_info\0";
693pub const ATTR_NODE_TopologyInfo: &[u8; 14usize] = b"topology_info\0";
694pub const ATTR_NODE_MaintJobs: &[u8; 17usize] = b"maintenance_jobs\0";
695pub const ATTR_NODE_VnodePool: &[u8; 11usize] = b"vnode_pool\0";
696pub const ATTR_NODE_current_eoe: &[u8; 12usize] = b"current_eoe\0";
697pub const ATTR_NODE_power_provisioning: &[u8; 19usize] = b"power_provisioning\0";
698pub const ATTR_NODE_poweroff_eligible: &[u8; 18usize] = b"poweroff_eligible\0";
699pub const ATTR_NODE_last_state_change_time: &[u8; 23usize] = b"last_state_change_time\0";
700pub const ATTR_NODE_last_used_time: &[u8; 15usize] = b"last_used_time\0";
701pub const ND_RESC_LicSignature: &[u8; 14usize] = b"lic_signature\0";
702pub const ATTR_RESC_TYPE: &[u8; 5usize] = b"type\0";
703pub const ATTR_RESC_FLAG: &[u8; 5usize] = b"flag\0";
704pub const CHECKPOINT_UNSPECIFIED: &[u8; 2usize] = b"u\0";
705pub const NO_HOLD: &[u8; 2usize] = b"n\0";
706pub const NO_JOIN: &[u8; 2usize] = b"n\0";
707pub const NO_KEEP: &[u8; 2usize] = b"n\0";
708pub const MAIL_AT_ABORT: &[u8; 2usize] = b"a\0";
709pub const USER_HOLD: &[u8; 2usize] = b"u\0";
710pub const OTHER_HOLD: &[u8; 2usize] = b"o\0";
711pub const SYSTEM_HOLD: &[u8; 2usize] = b"s\0";
712pub const BAD_PASSWORD_HOLD: &[u8; 2usize] = b"p\0";
713pub const SITE_HOOK: &[u8; 5usize] = b"hook\0";
714pub const PBS_HOOK: &[u8; 8usize] = b"pbshook\0";
715pub const MSG_OUT: u32 = 1;
716pub const MSG_ERR: u32 = 2;
717pub const BLUEGENE: &[u8; 9usize] = b"bluegene\0";
718pub const PBS_MAXHOSTNAME: u32 = 255;
719pub const MAXPATHLEN: u32 = 1024;
720pub const MAXNAMLEN: u32 = 255;
721pub const PBS_MAXSCHEDNAME: u32 = 15;
722pub const PBS_MAXUSER: u32 = 256;
723pub const PBS_MAXPWLEN: u32 = 256;
724pub const PBS_MAXGRPN: u32 = 256;
725pub const PBS_MAXQUEUENAME: u32 = 15;
726pub const PBS_MAXJOBNAME: u32 = 230;
727pub const PBS_MAXSERVERNAME: u32 = 255;
728pub const PBS_MAXSEQNUM: u32 = 12;
729pub const PBS_DFLT_MAX_JOB_SEQUENCE_ID: u32 = 9999999;
730pub const PBS_MAXPORTNUM: u32 = 5;
731pub const PBS_MAXSVRJOBID: u32 = 273;
732pub const PBS_MAXSVRRESVID: u32 = 274;
733pub const PBS_MAXQRESVNAME: u32 = 15;
734pub const PBS_MAXCLTJOBID: u32 = 535;
735pub const PBS_MAXDEST: u32 = 256;
736pub const PBS_MAXROUTEDEST: u32 = 277;
737pub const PBS_INTERACTIVE: u32 = 1;
738pub const PBS_TERM_BUF_SZ: u32 = 80;
739pub const PBS_TERM_CCA: u32 = 6;
740pub const PBS_RESV_ID_CHAR: u8 = 82u8;
741pub const PBS_STDNG_RESV_ID_CHAR: u8 = 83u8;
742pub const PBS_MNTNC_RESV_ID_CHAR: u8 = 77u8;
743pub const PBS_AUTH_KEY_LEN: u32 = 129;
744pub const SHUT_IMMEDIATE: u32 = 0;
745pub const SHUT_DELAY: u32 = 1;
746pub const SHUT_QUICK: u32 = 2;
747pub const FORCE: &[u8; 6usize] = b"force\0";
748pub const NOMAIL: &[u8; 7usize] = b"nomail\0";
749pub const SUPPRESS_EMAIL: &[u8; 15usize] = b"suppress_email\0";
750pub const DELETEHISTORY: &[u8; 11usize] = b"deletehist\0";
751#[doc = " the following structure is used to tie error number      */\n/* with text to be returned to a client, see svr_messages.c"]
752#[repr(C)]
753#[derive(Debug)]
754pub struct pbs_err_to_txt {
755    pub err_no: ::std::os::raw::c_int,
756    pub err_txt: *mut *mut ::std::os::raw::c_char,
757}
758#[test]
759fn bindgen_test_layout_pbs_err_to_txt() {
760    const UNINIT: ::std::mem::MaybeUninit<pbs_err_to_txt> = ::std::mem::MaybeUninit::uninit();
761    let ptr = UNINIT.as_ptr();
762    assert_eq!(
763        ::std::mem::size_of::<pbs_err_to_txt>(),
764        16usize,
765        concat!("Size of: ", stringify!(pbs_err_to_txt))
766    );
767    assert_eq!(
768        ::std::mem::align_of::<pbs_err_to_txt>(),
769        8usize,
770        concat!("Alignment of ", stringify!(pbs_err_to_txt))
771    );
772    assert_eq!(
773        unsafe { ::std::ptr::addr_of!((*ptr).err_no) as usize - ptr as usize },
774        0usize,
775        concat!(
776            "Offset of field: ",
777            stringify!(pbs_err_to_txt),
778            "::",
779            stringify!(err_no)
780        )
781    );
782    assert_eq!(
783        unsafe { ::std::ptr::addr_of!((*ptr).err_txt) as usize - ptr as usize },
784        8usize,
785        concat!(
786            "Offset of field: ",
787            stringify!(pbs_err_to_txt),
788            "::",
789            stringify!(err_txt)
790        )
791    );
792}
793extern "C" {
794    pub fn pbse_to_txt(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
795}
796extern "C" {
797    pub fn __pbs_errno_location() -> *mut ::std::os::raw::c_int;
798}
799#[doc = " Convenience types."]
800pub type __u_char = ::std::os::raw::c_uchar;
801pub type __u_short = ::std::os::raw::c_ushort;
802pub type __u_int = ::std::os::raw::c_uint;
803pub type __u_long = ::std::os::raw::c_ulong;
804#[doc = " Fixed-size types, underlying types depend on word size and compiler."]
805pub type __int8_t = ::std::os::raw::c_schar;
806pub type __uint8_t = ::std::os::raw::c_uchar;
807pub type __int16_t = ::std::os::raw::c_short;
808pub type __uint16_t = ::std::os::raw::c_ushort;
809pub type __int32_t = ::std::os::raw::c_int;
810pub type __uint32_t = ::std::os::raw::c_uint;
811pub type __int64_t = ::std::os::raw::c_long;
812pub type __uint64_t = ::std::os::raw::c_ulong;
813pub type __quad_t = ::std::os::raw::c_long;
814pub type __u_quad_t = ::std::os::raw::c_ulong;
815pub type __dev_t = ::std::os::raw::c_ulong;
816pub type __uid_t = ::std::os::raw::c_uint;
817pub type __gid_t = ::std::os::raw::c_uint;
818pub type __ino_t = ::std::os::raw::c_ulong;
819pub type __ino64_t = ::std::os::raw::c_ulong;
820pub type __mode_t = ::std::os::raw::c_uint;
821pub type __nlink_t = ::std::os::raw::c_ulong;
822pub type __off_t = ::std::os::raw::c_long;
823pub type __off64_t = ::std::os::raw::c_long;
824pub type __pid_t = ::std::os::raw::c_int;
825#[repr(C)]
826#[derive(Debug)]
827pub struct __fsid_t {
828    pub __val: [::std::os::raw::c_int; 2usize],
829}
830#[test]
831fn bindgen_test_layout___fsid_t() {
832    const UNINIT: ::std::mem::MaybeUninit<__fsid_t> = ::std::mem::MaybeUninit::uninit();
833    let ptr = UNINIT.as_ptr();
834    assert_eq!(
835        ::std::mem::size_of::<__fsid_t>(),
836        8usize,
837        concat!("Size of: ", stringify!(__fsid_t))
838    );
839    assert_eq!(
840        ::std::mem::align_of::<__fsid_t>(),
841        4usize,
842        concat!("Alignment of ", stringify!(__fsid_t))
843    );
844    assert_eq!(
845        unsafe { ::std::ptr::addr_of!((*ptr).__val) as usize - ptr as usize },
846        0usize,
847        concat!(
848            "Offset of field: ",
849            stringify!(__fsid_t),
850            "::",
851            stringify!(__val)
852        )
853    );
854}
855pub type __clock_t = ::std::os::raw::c_long;
856pub type __rlim_t = ::std::os::raw::c_ulong;
857pub type __rlim64_t = ::std::os::raw::c_ulong;
858pub type __id_t = ::std::os::raw::c_uint;
859pub type __time_t = ::std::os::raw::c_long;
860pub type __useconds_t = ::std::os::raw::c_uint;
861pub type __suseconds_t = ::std::os::raw::c_long;
862pub type __daddr_t = ::std::os::raw::c_int;
863pub type __key_t = ::std::os::raw::c_int;
864pub type __clockid_t = ::std::os::raw::c_int;
865pub type __timer_t = *mut ::std::os::raw::c_void;
866pub type __blksize_t = ::std::os::raw::c_long;
867pub type __blkcnt_t = ::std::os::raw::c_long;
868pub type __blkcnt64_t = ::std::os::raw::c_long;
869pub type __fsblkcnt_t = ::std::os::raw::c_ulong;
870pub type __fsblkcnt64_t = ::std::os::raw::c_ulong;
871pub type __fsfilcnt_t = ::std::os::raw::c_ulong;
872pub type __fsfilcnt64_t = ::std::os::raw::c_ulong;
873pub type __fsword_t = ::std::os::raw::c_long;
874pub type __ssize_t = ::std::os::raw::c_long;
875pub type __syscall_slong_t = ::std::os::raw::c_long;
876pub type __syscall_ulong_t = ::std::os::raw::c_ulong;
877#[doc = " These few don't really vary by system, they always correspond\nto one of the other defined types."]
878pub type __loff_t = __off64_t;
879pub type __qaddr_t = *mut __quad_t;
880pub type __caddr_t = *mut ::std::os::raw::c_char;
881pub type __intptr_t = ::std::os::raw::c_long;
882pub type __socklen_t = ::std::os::raw::c_uint;
883#[doc = " Define outside of namespace so the C++ is happy."]
884pub type FILE = _IO_FILE;
885#[doc = " Define outside of namespace so the C++ is happy."]
886pub type __FILE = _IO_FILE;
887#[doc = " Conversion state information."]
888#[repr(C)]
889pub struct __mbstate_t {
890    pub __count: ::std::os::raw::c_int,
891    #[doc = " Value so far."]
892    pub __value: __mbstate_t__bindgen_ty_1,
893}
894#[repr(C)]
895pub struct __mbstate_t__bindgen_ty_1 {
896    pub __wch: __BindgenUnionField<::std::os::raw::c_uint>,
897    pub __wchb: __BindgenUnionField<[::std::os::raw::c_char; 4usize]>,
898    pub bindgen_union_field: u32,
899}
900#[test]
901fn bindgen_test_layout___mbstate_t__bindgen_ty_1() {
902    const UNINIT: ::std::mem::MaybeUninit<__mbstate_t__bindgen_ty_1> =
903        ::std::mem::MaybeUninit::uninit();
904    let ptr = UNINIT.as_ptr();
905    assert_eq!(
906        ::std::mem::size_of::<__mbstate_t__bindgen_ty_1>(),
907        4usize,
908        concat!("Size of: ", stringify!(__mbstate_t__bindgen_ty_1))
909    );
910    assert_eq!(
911        ::std::mem::align_of::<__mbstate_t__bindgen_ty_1>(),
912        4usize,
913        concat!("Alignment of ", stringify!(__mbstate_t__bindgen_ty_1))
914    );
915    assert_eq!(
916        unsafe { ::std::ptr::addr_of!((*ptr).__wch) as usize - ptr as usize },
917        0usize,
918        concat!(
919            "Offset of field: ",
920            stringify!(__mbstate_t__bindgen_ty_1),
921            "::",
922            stringify!(__wch)
923        )
924    );
925    assert_eq!(
926        unsafe { ::std::ptr::addr_of!((*ptr).__wchb) as usize - ptr as usize },
927        0usize,
928        concat!(
929            "Offset of field: ",
930            stringify!(__mbstate_t__bindgen_ty_1),
931            "::",
932            stringify!(__wchb)
933        )
934    );
935}
936#[test]
937fn bindgen_test_layout___mbstate_t() {
938    const UNINIT: ::std::mem::MaybeUninit<__mbstate_t> = ::std::mem::MaybeUninit::uninit();
939    let ptr = UNINIT.as_ptr();
940    assert_eq!(
941        ::std::mem::size_of::<__mbstate_t>(),
942        8usize,
943        concat!("Size of: ", stringify!(__mbstate_t))
944    );
945    assert_eq!(
946        ::std::mem::align_of::<__mbstate_t>(),
947        4usize,
948        concat!("Alignment of ", stringify!(__mbstate_t))
949    );
950    assert_eq!(
951        unsafe { ::std::ptr::addr_of!((*ptr).__count) as usize - ptr as usize },
952        0usize,
953        concat!(
954            "Offset of field: ",
955            stringify!(__mbstate_t),
956            "::",
957            stringify!(__count)
958        )
959    );
960    assert_eq!(
961        unsafe { ::std::ptr::addr_of!((*ptr).__value) as usize - ptr as usize },
962        4usize,
963        concat!(
964            "Offset of field: ",
965            stringify!(__mbstate_t),
966            "::",
967            stringify!(__value)
968        )
969    );
970}
971#[repr(C)]
972pub struct _G_fpos_t {
973    pub __pos: __off_t,
974    pub __state: __mbstate_t,
975}
976#[test]
977fn bindgen_test_layout__G_fpos_t() {
978    const UNINIT: ::std::mem::MaybeUninit<_G_fpos_t> = ::std::mem::MaybeUninit::uninit();
979    let ptr = UNINIT.as_ptr();
980    assert_eq!(
981        ::std::mem::size_of::<_G_fpos_t>(),
982        16usize,
983        concat!("Size of: ", stringify!(_G_fpos_t))
984    );
985    assert_eq!(
986        ::std::mem::align_of::<_G_fpos_t>(),
987        8usize,
988        concat!("Alignment of ", stringify!(_G_fpos_t))
989    );
990    assert_eq!(
991        unsafe { ::std::ptr::addr_of!((*ptr).__pos) as usize - ptr as usize },
992        0usize,
993        concat!(
994            "Offset of field: ",
995            stringify!(_G_fpos_t),
996            "::",
997            stringify!(__pos)
998        )
999    );
1000    assert_eq!(
1001        unsafe { ::std::ptr::addr_of!((*ptr).__state) as usize - ptr as usize },
1002        8usize,
1003        concat!(
1004            "Offset of field: ",
1005            stringify!(_G_fpos_t),
1006            "::",
1007            stringify!(__state)
1008        )
1009    );
1010}
1011#[repr(C)]
1012pub struct _G_fpos64_t {
1013    pub __pos: __off64_t,
1014    pub __state: __mbstate_t,
1015}
1016#[test]
1017fn bindgen_test_layout__G_fpos64_t() {
1018    const UNINIT: ::std::mem::MaybeUninit<_G_fpos64_t> = ::std::mem::MaybeUninit::uninit();
1019    let ptr = UNINIT.as_ptr();
1020    assert_eq!(
1021        ::std::mem::size_of::<_G_fpos64_t>(),
1022        16usize,
1023        concat!("Size of: ", stringify!(_G_fpos64_t))
1024    );
1025    assert_eq!(
1026        ::std::mem::align_of::<_G_fpos64_t>(),
1027        8usize,
1028        concat!("Alignment of ", stringify!(_G_fpos64_t))
1029    );
1030    assert_eq!(
1031        unsafe { ::std::ptr::addr_of!((*ptr).__pos) as usize - ptr as usize },
1032        0usize,
1033        concat!(
1034            "Offset of field: ",
1035            stringify!(_G_fpos64_t),
1036            "::",
1037            stringify!(__pos)
1038        )
1039    );
1040    assert_eq!(
1041        unsafe { ::std::ptr::addr_of!((*ptr).__state) as usize - ptr as usize },
1042        8usize,
1043        concat!(
1044            "Offset of field: ",
1045            stringify!(_G_fpos64_t),
1046            "::",
1047            stringify!(__state)
1048        )
1049    );
1050}
1051pub type va_list = __builtin_va_list;
1052pub type __gnuc_va_list = __builtin_va_list;
1053#[repr(C)]
1054#[derive(Debug)]
1055pub struct _IO_jump_t {
1056    _unused: [u8; 0],
1057}
1058pub type _IO_lock_t = ::std::os::raw::c_void;
1059#[doc = " A streammarker remembers a position in a buffer."]
1060#[repr(C)]
1061#[derive(Debug)]
1062pub struct _IO_marker {
1063    pub _next: *mut _IO_marker,
1064    pub _sbuf: *mut _IO_FILE,
1065    #[doc = " If _pos >= 0\nit points to _buf->Gbase()+_pos. FIXME comment */\n/* if _pos < 0, it points to _buf->eBptr()+_pos. FIXME comment"]
1066    pub _pos: ::std::os::raw::c_int,
1067}
1068#[test]
1069fn bindgen_test_layout__IO_marker() {
1070    const UNINIT: ::std::mem::MaybeUninit<_IO_marker> = ::std::mem::MaybeUninit::uninit();
1071    let ptr = UNINIT.as_ptr();
1072    assert_eq!(
1073        ::std::mem::size_of::<_IO_marker>(),
1074        24usize,
1075        concat!("Size of: ", stringify!(_IO_marker))
1076    );
1077    assert_eq!(
1078        ::std::mem::align_of::<_IO_marker>(),
1079        8usize,
1080        concat!("Alignment of ", stringify!(_IO_marker))
1081    );
1082    assert_eq!(
1083        unsafe { ::std::ptr::addr_of!((*ptr)._next) as usize - ptr as usize },
1084        0usize,
1085        concat!(
1086            "Offset of field: ",
1087            stringify!(_IO_marker),
1088            "::",
1089            stringify!(_next)
1090        )
1091    );
1092    assert_eq!(
1093        unsafe { ::std::ptr::addr_of!((*ptr)._sbuf) as usize - ptr as usize },
1094        8usize,
1095        concat!(
1096            "Offset of field: ",
1097            stringify!(_IO_marker),
1098            "::",
1099            stringify!(_sbuf)
1100        )
1101    );
1102    assert_eq!(
1103        unsafe { ::std::ptr::addr_of!((*ptr)._pos) as usize - ptr as usize },
1104        16usize,
1105        concat!(
1106            "Offset of field: ",
1107            stringify!(_IO_marker),
1108            "::",
1109            stringify!(_pos)
1110        )
1111    );
1112}
1113pub const __codecvt_result___codecvt_ok: __codecvt_result = 0;
1114pub const __codecvt_result___codecvt_partial: __codecvt_result = 1;
1115pub const __codecvt_result___codecvt_error: __codecvt_result = 2;
1116pub const __codecvt_result___codecvt_noconv: __codecvt_result = 3;
1117#[doc = " This is the structure from the libstdc++ codecvt class."]
1118pub type __codecvt_result = ::std::os::raw::c_uint;
1119#[doc = " Define outside of namespace so the C++ is happy."]
1120#[repr(C)]
1121#[derive(Debug)]
1122pub struct _IO_FILE {
1123    #[doc = " High-order word is _IO_MAGIC; rest is flags."]
1124    pub _flags: ::std::os::raw::c_int,
1125    #[doc = " Current read pointer"]
1126    pub _IO_read_ptr: *mut ::std::os::raw::c_char,
1127    #[doc = " End of get area."]
1128    pub _IO_read_end: *mut ::std::os::raw::c_char,
1129    #[doc = " Start of putback+get area."]
1130    pub _IO_read_base: *mut ::std::os::raw::c_char,
1131    #[doc = " Start of put area."]
1132    pub _IO_write_base: *mut ::std::os::raw::c_char,
1133    #[doc = " Current put pointer."]
1134    pub _IO_write_ptr: *mut ::std::os::raw::c_char,
1135    #[doc = " End of put area."]
1136    pub _IO_write_end: *mut ::std::os::raw::c_char,
1137    #[doc = " Start of reserve area."]
1138    pub _IO_buf_base: *mut ::std::os::raw::c_char,
1139    #[doc = " End of reserve area."]
1140    pub _IO_buf_end: *mut ::std::os::raw::c_char,
1141    #[doc = " Pointer to start of non-current get area."]
1142    pub _IO_save_base: *mut ::std::os::raw::c_char,
1143    #[doc = " Pointer to first valid character of backup area"]
1144    pub _IO_backup_base: *mut ::std::os::raw::c_char,
1145    #[doc = " Pointer to end of non-current get area."]
1146    pub _IO_save_end: *mut ::std::os::raw::c_char,
1147    pub _markers: *mut _IO_marker,
1148    pub _chain: *mut _IO_FILE,
1149    pub _fileno: ::std::os::raw::c_int,
1150    pub _flags2: ::std::os::raw::c_int,
1151    #[doc = " This used to be _offset but it's too small."]
1152    pub _old_offset: __off_t,
1153    #[doc = " 1+column number of pbase(); 0 is unknown."]
1154    pub _cur_column: ::std::os::raw::c_ushort,
1155    pub _vtable_offset: ::std::os::raw::c_schar,
1156    pub _shortbuf: [::std::os::raw::c_char; 1usize],
1157    #[doc = "  char* _save_gptr;  char* _save_egptr;"]
1158    pub _lock: *mut _IO_lock_t,
1159    pub _offset: __off64_t,
1160    pub __pad1: *mut ::std::os::raw::c_void,
1161    pub __pad2: *mut ::std::os::raw::c_void,
1162    pub __pad3: *mut ::std::os::raw::c_void,
1163    pub __pad4: *mut ::std::os::raw::c_void,
1164    pub __pad5: usize,
1165    pub _mode: ::std::os::raw::c_int,
1166    #[doc = " Make sure we don't get into trouble again."]
1167    pub _unused2: [::std::os::raw::c_char; 20usize],
1168}
1169#[test]
1170fn bindgen_test_layout__IO_FILE() {
1171    const UNINIT: ::std::mem::MaybeUninit<_IO_FILE> = ::std::mem::MaybeUninit::uninit();
1172    let ptr = UNINIT.as_ptr();
1173    assert_eq!(
1174        ::std::mem::size_of::<_IO_FILE>(),
1175        216usize,
1176        concat!("Size of: ", stringify!(_IO_FILE))
1177    );
1178    assert_eq!(
1179        ::std::mem::align_of::<_IO_FILE>(),
1180        8usize,
1181        concat!("Alignment of ", stringify!(_IO_FILE))
1182    );
1183    assert_eq!(
1184        unsafe { ::std::ptr::addr_of!((*ptr)._flags) as usize - ptr as usize },
1185        0usize,
1186        concat!(
1187            "Offset of field: ",
1188            stringify!(_IO_FILE),
1189            "::",
1190            stringify!(_flags)
1191        )
1192    );
1193    assert_eq!(
1194        unsafe { ::std::ptr::addr_of!((*ptr)._IO_read_ptr) as usize - ptr as usize },
1195        8usize,
1196        concat!(
1197            "Offset of field: ",
1198            stringify!(_IO_FILE),
1199            "::",
1200            stringify!(_IO_read_ptr)
1201        )
1202    );
1203    assert_eq!(
1204        unsafe { ::std::ptr::addr_of!((*ptr)._IO_read_end) as usize - ptr as usize },
1205        16usize,
1206        concat!(
1207            "Offset of field: ",
1208            stringify!(_IO_FILE),
1209            "::",
1210            stringify!(_IO_read_end)
1211        )
1212    );
1213    assert_eq!(
1214        unsafe { ::std::ptr::addr_of!((*ptr)._IO_read_base) as usize - ptr as usize },
1215        24usize,
1216        concat!(
1217            "Offset of field: ",
1218            stringify!(_IO_FILE),
1219            "::",
1220            stringify!(_IO_read_base)
1221        )
1222    );
1223    assert_eq!(
1224        unsafe { ::std::ptr::addr_of!((*ptr)._IO_write_base) as usize - ptr as usize },
1225        32usize,
1226        concat!(
1227            "Offset of field: ",
1228            stringify!(_IO_FILE),
1229            "::",
1230            stringify!(_IO_write_base)
1231        )
1232    );
1233    assert_eq!(
1234        unsafe { ::std::ptr::addr_of!((*ptr)._IO_write_ptr) as usize - ptr as usize },
1235        40usize,
1236        concat!(
1237            "Offset of field: ",
1238            stringify!(_IO_FILE),
1239            "::",
1240            stringify!(_IO_write_ptr)
1241        )
1242    );
1243    assert_eq!(
1244        unsafe { ::std::ptr::addr_of!((*ptr)._IO_write_end) as usize - ptr as usize },
1245        48usize,
1246        concat!(
1247            "Offset of field: ",
1248            stringify!(_IO_FILE),
1249            "::",
1250            stringify!(_IO_write_end)
1251        )
1252    );
1253    assert_eq!(
1254        unsafe { ::std::ptr::addr_of!((*ptr)._IO_buf_base) as usize - ptr as usize },
1255        56usize,
1256        concat!(
1257            "Offset of field: ",
1258            stringify!(_IO_FILE),
1259            "::",
1260            stringify!(_IO_buf_base)
1261        )
1262    );
1263    assert_eq!(
1264        unsafe { ::std::ptr::addr_of!((*ptr)._IO_buf_end) as usize - ptr as usize },
1265        64usize,
1266        concat!(
1267            "Offset of field: ",
1268            stringify!(_IO_FILE),
1269            "::",
1270            stringify!(_IO_buf_end)
1271        )
1272    );
1273    assert_eq!(
1274        unsafe { ::std::ptr::addr_of!((*ptr)._IO_save_base) as usize - ptr as usize },
1275        72usize,
1276        concat!(
1277            "Offset of field: ",
1278            stringify!(_IO_FILE),
1279            "::",
1280            stringify!(_IO_save_base)
1281        )
1282    );
1283    assert_eq!(
1284        unsafe { ::std::ptr::addr_of!((*ptr)._IO_backup_base) as usize - ptr as usize },
1285        80usize,
1286        concat!(
1287            "Offset of field: ",
1288            stringify!(_IO_FILE),
1289            "::",
1290            stringify!(_IO_backup_base)
1291        )
1292    );
1293    assert_eq!(
1294        unsafe { ::std::ptr::addr_of!((*ptr)._IO_save_end) as usize - ptr as usize },
1295        88usize,
1296        concat!(
1297            "Offset of field: ",
1298            stringify!(_IO_FILE),
1299            "::",
1300            stringify!(_IO_save_end)
1301        )
1302    );
1303    assert_eq!(
1304        unsafe { ::std::ptr::addr_of!((*ptr)._markers) as usize - ptr as usize },
1305        96usize,
1306        concat!(
1307            "Offset of field: ",
1308            stringify!(_IO_FILE),
1309            "::",
1310            stringify!(_markers)
1311        )
1312    );
1313    assert_eq!(
1314        unsafe { ::std::ptr::addr_of!((*ptr)._chain) as usize - ptr as usize },
1315        104usize,
1316        concat!(
1317            "Offset of field: ",
1318            stringify!(_IO_FILE),
1319            "::",
1320            stringify!(_chain)
1321        )
1322    );
1323    assert_eq!(
1324        unsafe { ::std::ptr::addr_of!((*ptr)._fileno) as usize - ptr as usize },
1325        112usize,
1326        concat!(
1327            "Offset of field: ",
1328            stringify!(_IO_FILE),
1329            "::",
1330            stringify!(_fileno)
1331        )
1332    );
1333    assert_eq!(
1334        unsafe { ::std::ptr::addr_of!((*ptr)._flags2) as usize - ptr as usize },
1335        116usize,
1336        concat!(
1337            "Offset of field: ",
1338            stringify!(_IO_FILE),
1339            "::",
1340            stringify!(_flags2)
1341        )
1342    );
1343    assert_eq!(
1344        unsafe { ::std::ptr::addr_of!((*ptr)._old_offset) as usize - ptr as usize },
1345        120usize,
1346        concat!(
1347            "Offset of field: ",
1348            stringify!(_IO_FILE),
1349            "::",
1350            stringify!(_old_offset)
1351        )
1352    );
1353    assert_eq!(
1354        unsafe { ::std::ptr::addr_of!((*ptr)._cur_column) as usize - ptr as usize },
1355        128usize,
1356        concat!(
1357            "Offset of field: ",
1358            stringify!(_IO_FILE),
1359            "::",
1360            stringify!(_cur_column)
1361        )
1362    );
1363    assert_eq!(
1364        unsafe { ::std::ptr::addr_of!((*ptr)._vtable_offset) as usize - ptr as usize },
1365        130usize,
1366        concat!(
1367            "Offset of field: ",
1368            stringify!(_IO_FILE),
1369            "::",
1370            stringify!(_vtable_offset)
1371        )
1372    );
1373    assert_eq!(
1374        unsafe { ::std::ptr::addr_of!((*ptr)._shortbuf) as usize - ptr as usize },
1375        131usize,
1376        concat!(
1377            "Offset of field: ",
1378            stringify!(_IO_FILE),
1379            "::",
1380            stringify!(_shortbuf)
1381        )
1382    );
1383    assert_eq!(
1384        unsafe { ::std::ptr::addr_of!((*ptr)._lock) as usize - ptr as usize },
1385        136usize,
1386        concat!(
1387            "Offset of field: ",
1388            stringify!(_IO_FILE),
1389            "::",
1390            stringify!(_lock)
1391        )
1392    );
1393    assert_eq!(
1394        unsafe { ::std::ptr::addr_of!((*ptr)._offset) as usize - ptr as usize },
1395        144usize,
1396        concat!(
1397            "Offset of field: ",
1398            stringify!(_IO_FILE),
1399            "::",
1400            stringify!(_offset)
1401        )
1402    );
1403    assert_eq!(
1404        unsafe { ::std::ptr::addr_of!((*ptr).__pad1) as usize - ptr as usize },
1405        152usize,
1406        concat!(
1407            "Offset of field: ",
1408            stringify!(_IO_FILE),
1409            "::",
1410            stringify!(__pad1)
1411        )
1412    );
1413    assert_eq!(
1414        unsafe { ::std::ptr::addr_of!((*ptr).__pad2) as usize - ptr as usize },
1415        160usize,
1416        concat!(
1417            "Offset of field: ",
1418            stringify!(_IO_FILE),
1419            "::",
1420            stringify!(__pad2)
1421        )
1422    );
1423    assert_eq!(
1424        unsafe { ::std::ptr::addr_of!((*ptr).__pad3) as usize - ptr as usize },
1425        168usize,
1426        concat!(
1427            "Offset of field: ",
1428            stringify!(_IO_FILE),
1429            "::",
1430            stringify!(__pad3)
1431        )
1432    );
1433    assert_eq!(
1434        unsafe { ::std::ptr::addr_of!((*ptr).__pad4) as usize - ptr as usize },
1435        176usize,
1436        concat!(
1437            "Offset of field: ",
1438            stringify!(_IO_FILE),
1439            "::",
1440            stringify!(__pad4)
1441        )
1442    );
1443    assert_eq!(
1444        unsafe { ::std::ptr::addr_of!((*ptr).__pad5) as usize - ptr as usize },
1445        184usize,
1446        concat!(
1447            "Offset of field: ",
1448            stringify!(_IO_FILE),
1449            "::",
1450            stringify!(__pad5)
1451        )
1452    );
1453    assert_eq!(
1454        unsafe { ::std::ptr::addr_of!((*ptr)._mode) as usize - ptr as usize },
1455        192usize,
1456        concat!(
1457            "Offset of field: ",
1458            stringify!(_IO_FILE),
1459            "::",
1460            stringify!(_mode)
1461        )
1462    );
1463    assert_eq!(
1464        unsafe { ::std::ptr::addr_of!((*ptr)._unused2) as usize - ptr as usize },
1465        196usize,
1466        concat!(
1467            "Offset of field: ",
1468            stringify!(_IO_FILE),
1469            "::",
1470            stringify!(_unused2)
1471        )
1472    );
1473}
1474#[repr(C)]
1475#[derive(Debug)]
1476pub struct _IO_FILE_plus {
1477    _unused: [u8; 0],
1478}
1479extern "C" {
1480    pub static mut _IO_2_1_stdin_: _IO_FILE_plus;
1481}
1482extern "C" {
1483    pub static mut _IO_2_1_stdout_: _IO_FILE_plus;
1484}
1485extern "C" {
1486    pub static mut _IO_2_1_stderr_: _IO_FILE_plus;
1487}
1488#[doc = " Read NBYTES bytes from COOKIE into a buffer pointed to by BUF.\nReturn number of bytes read."]
1489pub type __io_read_fn = ::std::option::Option<
1490    unsafe extern "C" fn(
1491        __cookie: *mut ::std::os::raw::c_void,
1492        __buf: *mut ::std::os::raw::c_char,
1493        __nbytes: usize,
1494    ) -> __ssize_t,
1495>;
1496#[doc = " Write N bytes pointed to by BUF to COOKIE.  Write all N bytes\nunless there is an error.  Return number of bytes written.  If\nthere is an error, return 0 and do not write anything.  If the file\nhas been opened for append (__mode.__append set), then set the file\npointer to the end of the file and then do the write; if not, just\nwrite at the current file pointer."]
1497pub type __io_write_fn = ::std::option::Option<
1498    unsafe extern "C" fn(
1499        __cookie: *mut ::std::os::raw::c_void,
1500        __buf: *const ::std::os::raw::c_char,
1501        __n: usize,
1502    ) -> __ssize_t,
1503>;
1504#[doc = " Move COOKIE's file position to *POS bytes from the\nbeginning of the file (if W is SEEK_SET),\nthe current position (if W is SEEK_CUR),\nor the end of the file (if W is SEEK_END).\nSet *POS to the new file position.\nReturns zero if successful, nonzero if not."]
1505pub type __io_seek_fn = ::std::option::Option<
1506    unsafe extern "C" fn(
1507        __cookie: *mut ::std::os::raw::c_void,
1508        __pos: *mut __off64_t,
1509        __w: ::std::os::raw::c_int,
1510    ) -> ::std::os::raw::c_int,
1511>;
1512#[doc = " Close COOKIE."]
1513pub type __io_close_fn = ::std::option::Option<
1514    unsafe extern "C" fn(__cookie: *mut ::std::os::raw::c_void) -> ::std::os::raw::c_int,
1515>;
1516extern "C" {
1517    pub fn __underflow(arg1: *mut _IO_FILE) -> ::std::os::raw::c_int;
1518}
1519extern "C" {
1520    pub fn __uflow(arg1: *mut _IO_FILE) -> ::std::os::raw::c_int;
1521}
1522extern "C" {
1523    pub fn __overflow(arg1: *mut _IO_FILE, arg2: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1524}
1525extern "C" {
1526    pub fn _IO_getc(__fp: *mut _IO_FILE) -> ::std::os::raw::c_int;
1527}
1528extern "C" {
1529    pub fn _IO_putc(__c: ::std::os::raw::c_int, __fp: *mut _IO_FILE) -> ::std::os::raw::c_int;
1530}
1531extern "C" {
1532    pub fn _IO_feof(__fp: *mut _IO_FILE) -> ::std::os::raw::c_int;
1533}
1534extern "C" {
1535    pub fn _IO_ferror(__fp: *mut _IO_FILE) -> ::std::os::raw::c_int;
1536}
1537extern "C" {
1538    pub fn _IO_peekc_locked(__fp: *mut _IO_FILE) -> ::std::os::raw::c_int;
1539}
1540extern "C" {
1541    pub fn _IO_flockfile(arg1: *mut _IO_FILE);
1542}
1543extern "C" {
1544    pub fn _IO_funlockfile(arg1: *mut _IO_FILE);
1545}
1546extern "C" {
1547    pub fn _IO_ftrylockfile(arg1: *mut _IO_FILE) -> ::std::os::raw::c_int;
1548}
1549extern "C" {
1550    pub fn _IO_vfscanf(
1551        arg1: *mut _IO_FILE,
1552        arg2: *const ::std::os::raw::c_char,
1553        arg3: *mut __va_list_tag,
1554        arg4: *mut ::std::os::raw::c_int,
1555    ) -> ::std::os::raw::c_int;
1556}
1557extern "C" {
1558    pub fn _IO_vfprintf(
1559        arg1: *mut _IO_FILE,
1560        arg2: *const ::std::os::raw::c_char,
1561        arg3: *mut __va_list_tag,
1562    ) -> ::std::os::raw::c_int;
1563}
1564extern "C" {
1565    pub fn _IO_padn(arg1: *mut _IO_FILE, arg2: ::std::os::raw::c_int, arg3: __ssize_t)
1566        -> __ssize_t;
1567}
1568extern "C" {
1569    pub fn _IO_sgetn(arg1: *mut _IO_FILE, arg2: *mut ::std::os::raw::c_void, arg3: usize) -> usize;
1570}
1571extern "C" {
1572    pub fn _IO_seekoff(
1573        arg1: *mut _IO_FILE,
1574        arg2: __off64_t,
1575        arg3: ::std::os::raw::c_int,
1576        arg4: ::std::os::raw::c_int,
1577    ) -> __off64_t;
1578}
1579extern "C" {
1580    pub fn _IO_seekpos(
1581        arg1: *mut _IO_FILE,
1582        arg2: __off64_t,
1583        arg3: ::std::os::raw::c_int,
1584    ) -> __off64_t;
1585}
1586extern "C" {
1587    pub fn _IO_free_backup_area(arg1: *mut _IO_FILE);
1588}
1589pub type off_t = __off_t;
1590pub type fpos_t = _G_fpos_t;
1591extern "C" {
1592    #[doc = " Standard input stream."]
1593    pub static mut stdin: *mut _IO_FILE;
1594}
1595extern "C" {
1596    #[doc = " Standard output stream."]
1597    pub static mut stdout: *mut _IO_FILE;
1598}
1599extern "C" {
1600    #[doc = " Standard error output stream."]
1601    pub static mut stderr: *mut _IO_FILE;
1602}
1603extern "C" {
1604    #[doc = " Remove file FILENAME."]
1605    pub fn remove(__filename: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
1606}
1607extern "C" {
1608    #[doc = " Rename file OLD to NEW."]
1609    pub fn rename(
1610        __old: *const ::std::os::raw::c_char,
1611        __new: *const ::std::os::raw::c_char,
1612    ) -> ::std::os::raw::c_int;
1613}
1614extern "C" {
1615    #[doc = " Rename file OLD relative to OLDFD to NEW relative to NEWFD."]
1616    pub fn renameat(
1617        __oldfd: ::std::os::raw::c_int,
1618        __old: *const ::std::os::raw::c_char,
1619        __newfd: ::std::os::raw::c_int,
1620        __new: *const ::std::os::raw::c_char,
1621    ) -> ::std::os::raw::c_int;
1622}
1623extern "C" {
1624    pub fn tmpfile() -> *mut FILE;
1625}
1626extern "C" {
1627    #[doc = " Generate a temporary filename."]
1628    pub fn tmpnam(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
1629}
1630extern "C" {
1631    #[doc = " This is the reentrant variant of `tmpnam'.  The only difference is\nthat it does not allow S to be NULL."]
1632    pub fn tmpnam_r(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
1633}
1634extern "C" {
1635    #[doc = " Generate a unique temporary filename using up to five characters of PFX\nif it is not NULL.  The directory to put this file in is searched for\nas follows: First the environment variable \"TMPDIR\" is checked.\nIf it contains the name of a writable directory, that directory is used.\nIf not and if DIR is not NULL, that value is checked.  If that fails,\nP_tmpdir is tried and finally \"/tmp\".  The storage for the filename\nis allocated by `malloc'."]
1636    pub fn tempnam(
1637        __dir: *const ::std::os::raw::c_char,
1638        __pfx: *const ::std::os::raw::c_char,
1639    ) -> *mut ::std::os::raw::c_char;
1640}
1641extern "C" {
1642    #[doc = " Close STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1643    pub fn fclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
1644}
1645extern "C" {
1646    #[doc = " Flush STREAM, or all streams if STREAM is NULL.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1647    pub fn fflush(__stream: *mut FILE) -> ::std::os::raw::c_int;
1648}
1649extern "C" {
1650    #[doc = " Faster versions when locking is not required.\n\nThis function is not part of POSIX and therefore no official\ncancellation point.  But due to similarity with an POSIX interface\nor due to the implementation it is a cancellation point and\ntherefore not marked with __THROW."]
1651    pub fn fflush_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
1652}
1653extern "C" {
1654    #[doc = " Open a file and create a new stream for it.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1655    pub fn fopen(
1656        __filename: *const ::std::os::raw::c_char,
1657        __modes: *const ::std::os::raw::c_char,
1658    ) -> *mut FILE;
1659}
1660extern "C" {
1661    #[doc = " Open a file, replacing an existing stream with it.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1662    pub fn freopen(
1663        __filename: *const ::std::os::raw::c_char,
1664        __modes: *const ::std::os::raw::c_char,
1665        __stream: *mut FILE,
1666    ) -> *mut FILE;
1667}
1668extern "C" {
1669    #[doc = " Create a new stream that refers to an existing system file descriptor."]
1670    pub fn fdopen(__fd: ::std::os::raw::c_int, __modes: *const ::std::os::raw::c_char)
1671        -> *mut FILE;
1672}
1673extern "C" {
1674    #[doc = " Create a new stream that refers to a memory buffer."]
1675    pub fn fmemopen(
1676        __s: *mut ::std::os::raw::c_void,
1677        __len: usize,
1678        __modes: *const ::std::os::raw::c_char,
1679    ) -> *mut FILE;
1680}
1681extern "C" {
1682    #[doc = " Open a stream that writes into a malloc'd buffer that is expanded as\nnecessary.  *BUFLOC and *SIZELOC are updated with the buffer's location\nand the number of characters written on fflush or fclose."]
1683    pub fn open_memstream(
1684        __bufloc: *mut *mut ::std::os::raw::c_char,
1685        __sizeloc: *mut usize,
1686    ) -> *mut FILE;
1687}
1688extern "C" {
1689    #[doc = " If BUF is NULL, make STREAM unbuffered.\nElse make it use buffer BUF, of size BUFSIZ."]
1690    pub fn setbuf(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char);
1691}
1692extern "C" {
1693    #[doc = " Make STREAM use buffering mode MODE.\nIf BUF is not NULL, use N bytes of it for buffering;\nelse allocate an internal buffer N bytes long."]
1694    pub fn setvbuf(
1695        __stream: *mut FILE,
1696        __buf: *mut ::std::os::raw::c_char,
1697        __modes: ::std::os::raw::c_int,
1698        __n: usize,
1699    ) -> ::std::os::raw::c_int;
1700}
1701extern "C" {
1702    #[doc = " If BUF is NULL, make STREAM unbuffered.\nElse make it use SIZE bytes of BUF for buffering."]
1703    pub fn setbuffer(__stream: *mut FILE, __buf: *mut ::std::os::raw::c_char, __size: usize);
1704}
1705extern "C" {
1706    #[doc = " Make STREAM line-buffered."]
1707    pub fn setlinebuf(__stream: *mut FILE);
1708}
1709extern "C" {
1710    #[doc = " Write formatted output to STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1711    pub fn fprintf(
1712        __stream: *mut FILE,
1713        __format: *const ::std::os::raw::c_char,
1714        ...
1715    ) -> ::std::os::raw::c_int;
1716}
1717extern "C" {
1718    #[doc = " Write formatted output to stdout.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1719    pub fn printf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
1720}
1721extern "C" {
1722    #[doc = " Write formatted output to S."]
1723    pub fn sprintf(
1724        __s: *mut ::std::os::raw::c_char,
1725        __format: *const ::std::os::raw::c_char,
1726        ...
1727    ) -> ::std::os::raw::c_int;
1728}
1729extern "C" {
1730    #[doc = " Write formatted output to S from argument list ARG.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1731    pub fn vfprintf(
1732        __s: *mut FILE,
1733        __format: *const ::std::os::raw::c_char,
1734        __arg: *mut __va_list_tag,
1735    ) -> ::std::os::raw::c_int;
1736}
1737extern "C" {
1738    #[doc = " Write formatted output to stdout from argument list ARG.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1739    pub fn vprintf(
1740        __format: *const ::std::os::raw::c_char,
1741        __arg: *mut __va_list_tag,
1742    ) -> ::std::os::raw::c_int;
1743}
1744extern "C" {
1745    #[doc = " Write formatted output to S from argument list ARG."]
1746    pub fn vsprintf(
1747        __s: *mut ::std::os::raw::c_char,
1748        __format: *const ::std::os::raw::c_char,
1749        __arg: *mut __va_list_tag,
1750    ) -> ::std::os::raw::c_int;
1751}
1752extern "C" {
1753    #[doc = " Maximum chars of output to write in MAXLEN."]
1754    pub fn snprintf(
1755        __s: *mut ::std::os::raw::c_char,
1756        __maxlen: ::std::os::raw::c_ulong,
1757        __format: *const ::std::os::raw::c_char,
1758        ...
1759    ) -> ::std::os::raw::c_int;
1760}
1761extern "C" {
1762    pub fn vsnprintf(
1763        __s: *mut ::std::os::raw::c_char,
1764        __maxlen: ::std::os::raw::c_ulong,
1765        __format: *const ::std::os::raw::c_char,
1766        __arg: *mut __va_list_tag,
1767    ) -> ::std::os::raw::c_int;
1768}
1769extern "C" {
1770    #[doc = " Write formatted output to a file descriptor."]
1771    pub fn vdprintf(
1772        __fd: ::std::os::raw::c_int,
1773        __fmt: *const ::std::os::raw::c_char,
1774        __arg: *mut __va_list_tag,
1775    ) -> ::std::os::raw::c_int;
1776}
1777extern "C" {
1778    pub fn dprintf(
1779        __fd: ::std::os::raw::c_int,
1780        __fmt: *const ::std::os::raw::c_char,
1781        ...
1782    ) -> ::std::os::raw::c_int;
1783}
1784extern "C" {
1785    #[doc = " Read formatted input from STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1786    pub fn fscanf(
1787        __stream: *mut FILE,
1788        __format: *const ::std::os::raw::c_char,
1789        ...
1790    ) -> ::std::os::raw::c_int;
1791}
1792extern "C" {
1793    #[doc = " Read formatted input from stdin.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1794    pub fn scanf(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
1795}
1796extern "C" {
1797    #[doc = " Read formatted input from S."]
1798    pub fn sscanf(
1799        __s: *const ::std::os::raw::c_char,
1800        __format: *const ::std::os::raw::c_char,
1801        ...
1802    ) -> ::std::os::raw::c_int;
1803}
1804extern "C" {
1805    #[doc = " Read formatted input from STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1806    #[link_name = "\u{1}__isoc99_fscanf"]
1807    pub fn fscanf1(
1808        __stream: *mut FILE,
1809        __format: *const ::std::os::raw::c_char,
1810        ...
1811    ) -> ::std::os::raw::c_int;
1812}
1813extern "C" {
1814    #[doc = " Read formatted input from stdin.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1815    #[link_name = "\u{1}__isoc99_scanf"]
1816    pub fn scanf1(__format: *const ::std::os::raw::c_char, ...) -> ::std::os::raw::c_int;
1817}
1818extern "C" {
1819    #[doc = " Read formatted input from S."]
1820    #[link_name = "\u{1}__isoc99_sscanf"]
1821    pub fn sscanf1(
1822        __s: *const ::std::os::raw::c_char,
1823        __format: *const ::std::os::raw::c_char,
1824        ...
1825    ) -> ::std::os::raw::c_int;
1826}
1827extern "C" {
1828    #[doc = " Read formatted input from S into argument list ARG.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1829    pub fn vfscanf(
1830        __s: *mut FILE,
1831        __format: *const ::std::os::raw::c_char,
1832        __arg: *mut __va_list_tag,
1833    ) -> ::std::os::raw::c_int;
1834}
1835extern "C" {
1836    #[doc = " Read formatted input from stdin into argument list ARG.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1837    pub fn vscanf(
1838        __format: *const ::std::os::raw::c_char,
1839        __arg: *mut __va_list_tag,
1840    ) -> ::std::os::raw::c_int;
1841}
1842extern "C" {
1843    #[doc = " Read formatted input from S into argument list ARG."]
1844    pub fn vsscanf(
1845        __s: *const ::std::os::raw::c_char,
1846        __format: *const ::std::os::raw::c_char,
1847        __arg: *mut __va_list_tag,
1848    ) -> ::std::os::raw::c_int;
1849}
1850extern "C" {
1851    #[doc = " Read formatted input from S into argument list ARG.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1852    #[link_name = "\u{1}__isoc99_vfscanf"]
1853    pub fn vfscanf1(
1854        __s: *mut FILE,
1855        __format: *const ::std::os::raw::c_char,
1856        __arg: *mut __va_list_tag,
1857    ) -> ::std::os::raw::c_int;
1858}
1859extern "C" {
1860    #[doc = " Read formatted input from stdin into argument list ARG.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1861    #[link_name = "\u{1}__isoc99_vscanf"]
1862    pub fn vscanf1(
1863        __format: *const ::std::os::raw::c_char,
1864        __arg: *mut __va_list_tag,
1865    ) -> ::std::os::raw::c_int;
1866}
1867extern "C" {
1868    #[doc = " Read formatted input from S into argument list ARG."]
1869    #[link_name = "\u{1}__isoc99_vsscanf"]
1870    pub fn vsscanf1(
1871        __s: *const ::std::os::raw::c_char,
1872        __format: *const ::std::os::raw::c_char,
1873        __arg: *mut __va_list_tag,
1874    ) -> ::std::os::raw::c_int;
1875}
1876extern "C" {
1877    #[doc = " Read a character from STREAM.\n\nThese functions are possible cancellation points and therefore not\nmarked with __THROW."]
1878    pub fn fgetc(__stream: *mut FILE) -> ::std::os::raw::c_int;
1879}
1880extern "C" {
1881    pub fn getc(__stream: *mut FILE) -> ::std::os::raw::c_int;
1882}
1883extern "C" {
1884    #[doc = " Read a character from stdin.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1885    pub fn getchar() -> ::std::os::raw::c_int;
1886}
1887extern "C" {
1888    #[doc = " These are defined in POSIX.1:1996.\n\nThese functions are possible cancellation points and therefore not\nmarked with __THROW."]
1889    pub fn getc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
1890}
1891extern "C" {
1892    pub fn getchar_unlocked() -> ::std::os::raw::c_int;
1893}
1894extern "C" {
1895    #[doc = " Faster version when locking is not necessary.\n\nThis function is not part of POSIX and therefore no official\ncancellation point.  But due to similarity with an POSIX interface\nor due to the implementation it is a cancellation point and\ntherefore not marked with __THROW."]
1896    pub fn fgetc_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
1897}
1898extern "C" {
1899    #[doc = " Write a character to STREAM.\n\nThese functions are possible cancellation points and therefore not\nmarked with __THROW.\n\nThese functions is a possible cancellation point and therefore not\nmarked with __THROW."]
1900    pub fn fputc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
1901}
1902extern "C" {
1903    pub fn putc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
1904}
1905extern "C" {
1906    #[doc = " Write a character to stdout.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1907    pub fn putchar(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1908}
1909extern "C" {
1910    #[doc = " Faster version when locking is not necessary.\n\nThis function is not part of POSIX and therefore no official\ncancellation point.  But due to similarity with an POSIX interface\nor due to the implementation it is a cancellation point and\ntherefore not marked with __THROW."]
1911    pub fn fputc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE)
1912        -> ::std::os::raw::c_int;
1913}
1914extern "C" {
1915    #[doc = " These are defined in POSIX.1:1996.\n\nThese functions are possible cancellation points and therefore not\nmarked with __THROW."]
1916    pub fn putc_unlocked(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
1917}
1918extern "C" {
1919    pub fn putchar_unlocked(__c: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
1920}
1921extern "C" {
1922    #[doc = " Get a word (int) from STREAM."]
1923    pub fn getw(__stream: *mut FILE) -> ::std::os::raw::c_int;
1924}
1925extern "C" {
1926    #[doc = " Write a word (int) to STREAM."]
1927    pub fn putw(__w: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
1928}
1929extern "C" {
1930    #[doc = " Get a newline-terminated string of finite length from STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1931    pub fn fgets(
1932        __s: *mut ::std::os::raw::c_char,
1933        __n: ::std::os::raw::c_int,
1934        __stream: *mut FILE,
1935    ) -> *mut ::std::os::raw::c_char;
1936}
1937extern "C" {
1938    #[doc = " Read up to (and including) a DELIMITER from STREAM into *LINEPTR\n(and null-terminate it). *LINEPTR is a pointer returned from malloc (or\nNULL), pointing to *N characters of space.  It is realloc'd as\nnecessary.  Returns the number of characters read (not including the\nnull terminator), or -1 on error or EOF.\n\nThese functions are not part of POSIX and therefore no official\ncancellation point.  But due to similarity with an POSIX interface\nor due to the implementation they are cancellation points and\ntherefore not marked with __THROW."]
1939    pub fn __getdelim(
1940        __lineptr: *mut *mut ::std::os::raw::c_char,
1941        __n: *mut usize,
1942        __delimiter: ::std::os::raw::c_int,
1943        __stream: *mut FILE,
1944    ) -> __ssize_t;
1945}
1946extern "C" {
1947    pub fn getdelim(
1948        __lineptr: *mut *mut ::std::os::raw::c_char,
1949        __n: *mut usize,
1950        __delimiter: ::std::os::raw::c_int,
1951        __stream: *mut FILE,
1952    ) -> __ssize_t;
1953}
1954extern "C" {
1955    #[doc = " Like `getdelim', but reads up to a newline.\n\nThis function is not part of POSIX and therefore no official\ncancellation point.  But due to similarity with an POSIX interface\nor due to the implementation it is a cancellation point and\ntherefore not marked with __THROW."]
1956    pub fn getline(
1957        __lineptr: *mut *mut ::std::os::raw::c_char,
1958        __n: *mut usize,
1959        __stream: *mut FILE,
1960    ) -> __ssize_t;
1961}
1962extern "C" {
1963    #[doc = " Write a string to STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1964    pub fn fputs(__s: *const ::std::os::raw::c_char, __stream: *mut FILE) -> ::std::os::raw::c_int;
1965}
1966extern "C" {
1967    #[doc = " Write a string, followed by a newline, to stdout.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1968    pub fn puts(__s: *const ::std::os::raw::c_char) -> ::std::os::raw::c_int;
1969}
1970extern "C" {
1971    #[doc = " Push a character back onto the input buffer of STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1972    pub fn ungetc(__c: ::std::os::raw::c_int, __stream: *mut FILE) -> ::std::os::raw::c_int;
1973}
1974extern "C" {
1975    #[doc = " Read chunks of generic data from STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1976    pub fn fread(
1977        __ptr: *mut ::std::os::raw::c_void,
1978        __size: ::std::os::raw::c_ulong,
1979        __n: ::std::os::raw::c_ulong,
1980        __stream: *mut FILE,
1981    ) -> ::std::os::raw::c_ulong;
1982}
1983extern "C" {
1984    #[doc = " Write chunks of generic data to STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
1985    pub fn fwrite(
1986        __ptr: *const ::std::os::raw::c_void,
1987        __size: ::std::os::raw::c_ulong,
1988        __n: ::std::os::raw::c_ulong,
1989        __s: *mut FILE,
1990    ) -> ::std::os::raw::c_ulong;
1991}
1992extern "C" {
1993    #[doc = " Faster versions when locking is not necessary.\n\nThese functions are not part of POSIX and therefore no official\ncancellation point.  But due to similarity with an POSIX interface\nor due to the implementation they are cancellation points and\ntherefore not marked with __THROW."]
1994    pub fn fread_unlocked(
1995        __ptr: *mut ::std::os::raw::c_void,
1996        __size: usize,
1997        __n: usize,
1998        __stream: *mut FILE,
1999    ) -> usize;
2000}
2001extern "C" {
2002    pub fn fwrite_unlocked(
2003        __ptr: *const ::std::os::raw::c_void,
2004        __size: usize,
2005        __n: usize,
2006        __stream: *mut FILE,
2007    ) -> usize;
2008}
2009extern "C" {
2010    #[doc = " Seek to a certain position on STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
2011    pub fn fseek(
2012        __stream: *mut FILE,
2013        __off: ::std::os::raw::c_long,
2014        __whence: ::std::os::raw::c_int,
2015    ) -> ::std::os::raw::c_int;
2016}
2017extern "C" {
2018    #[doc = " Return the current position of STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
2019    pub fn ftell(__stream: *mut FILE) -> ::std::os::raw::c_long;
2020}
2021extern "C" {
2022    #[doc = " Rewind to the beginning of STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
2023    pub fn rewind(__stream: *mut FILE);
2024}
2025extern "C" {
2026    #[doc = " Seek to a certain position on STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
2027    pub fn fseeko(
2028        __stream: *mut FILE,
2029        __off: __off_t,
2030        __whence: ::std::os::raw::c_int,
2031    ) -> ::std::os::raw::c_int;
2032}
2033extern "C" {
2034    #[doc = " Return the current position of STREAM.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
2035    pub fn ftello(__stream: *mut FILE) -> __off_t;
2036}
2037extern "C" {
2038    #[doc = " Get STREAM's position.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
2039    pub fn fgetpos(__stream: *mut FILE, __pos: *mut fpos_t) -> ::std::os::raw::c_int;
2040}
2041extern "C" {
2042    #[doc = " Set STREAM's position.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
2043    pub fn fsetpos(__stream: *mut FILE, __pos: *const fpos_t) -> ::std::os::raw::c_int;
2044}
2045extern "C" {
2046    #[doc = " Clear the error and EOF indicators for STREAM."]
2047    pub fn clearerr(__stream: *mut FILE);
2048}
2049extern "C" {
2050    #[doc = " Return the EOF indicator for STREAM."]
2051    pub fn feof(__stream: *mut FILE) -> ::std::os::raw::c_int;
2052}
2053extern "C" {
2054    #[doc = " Return the error indicator for STREAM."]
2055    pub fn ferror(__stream: *mut FILE) -> ::std::os::raw::c_int;
2056}
2057extern "C" {
2058    #[doc = " Faster versions when locking is not required."]
2059    pub fn clearerr_unlocked(__stream: *mut FILE);
2060}
2061extern "C" {
2062    pub fn feof_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
2063}
2064extern "C" {
2065    pub fn ferror_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
2066}
2067extern "C" {
2068    #[doc = " Print a message describing the meaning of the value of errno.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
2069    pub fn perror(__s: *const ::std::os::raw::c_char);
2070}
2071extern "C" {
2072    pub static mut sys_nerr: ::std::os::raw::c_int;
2073}
2074extern "C" {
2075    pub static sys_errlist: [*const ::std::os::raw::c_char; 0usize];
2076}
2077extern "C" {
2078    #[doc = " Return the system file descriptor for STREAM."]
2079    pub fn fileno(__stream: *mut FILE) -> ::std::os::raw::c_int;
2080}
2081extern "C" {
2082    #[doc = " Faster version when locking is not required."]
2083    pub fn fileno_unlocked(__stream: *mut FILE) -> ::std::os::raw::c_int;
2084}
2085extern "C" {
2086    #[doc = " Create a new stream connected to a pipe running the given command.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
2087    pub fn popen(
2088        __command: *const ::std::os::raw::c_char,
2089        __modes: *const ::std::os::raw::c_char,
2090    ) -> *mut FILE;
2091}
2092extern "C" {
2093    #[doc = " Close a stream opened by popen and return the status of its child.\n\nThis function is a possible cancellation point and therefore not\nmarked with __THROW."]
2094    pub fn pclose(__stream: *mut FILE) -> ::std::os::raw::c_int;
2095}
2096extern "C" {
2097    #[doc = " Return the name of the controlling terminal."]
2098    pub fn ctermid(__s: *mut ::std::os::raw::c_char) -> *mut ::std::os::raw::c_char;
2099}
2100extern "C" {
2101    #[doc = " Acquire ownership of STREAM."]
2102    pub fn flockfile(__stream: *mut FILE);
2103}
2104extern "C" {
2105    #[doc = " Try to acquire ownership of STREAM but do not block if it is not\npossible."]
2106    pub fn ftrylockfile(__stream: *mut FILE) -> ::std::os::raw::c_int;
2107}
2108extern "C" {
2109    #[doc = " Relinquish the ownership granted for STREAM."]
2110    pub fn funlockfile(__stream: *mut FILE);
2111}
2112#[doc = " Returned by `clock'."]
2113pub type clock_t = __clock_t;
2114#[doc = " Returned by `time'."]
2115pub type time_t = __time_t;
2116#[doc = " Clock ID used in clock and timer functions."]
2117pub type clockid_t = __clockid_t;
2118#[doc = " Timer ID returned by `timer_create'."]
2119pub type timer_t = __timer_t;
2120#[doc = " POSIX.1b structure for a time value.  This is like a `struct timeval' but\nhas nanoseconds instead of microseconds."]
2121#[repr(C)]
2122#[derive(Debug)]
2123pub struct timespec {
2124    #[doc = " Seconds."]
2125    pub tv_sec: __time_t,
2126    #[doc = " Nanoseconds."]
2127    pub tv_nsec: __syscall_slong_t,
2128}
2129#[test]
2130fn bindgen_test_layout_timespec() {
2131    const UNINIT: ::std::mem::MaybeUninit<timespec> = ::std::mem::MaybeUninit::uninit();
2132    let ptr = UNINIT.as_ptr();
2133    assert_eq!(
2134        ::std::mem::size_of::<timespec>(),
2135        16usize,
2136        concat!("Size of: ", stringify!(timespec))
2137    );
2138    assert_eq!(
2139        ::std::mem::align_of::<timespec>(),
2140        8usize,
2141        concat!("Alignment of ", stringify!(timespec))
2142    );
2143    assert_eq!(
2144        unsafe { ::std::ptr::addr_of!((*ptr).tv_sec) as usize - ptr as usize },
2145        0usize,
2146        concat!(
2147            "Offset of field: ",
2148            stringify!(timespec),
2149            "::",
2150            stringify!(tv_sec)
2151        )
2152    );
2153    assert_eq!(
2154        unsafe { ::std::ptr::addr_of!((*ptr).tv_nsec) as usize - ptr as usize },
2155        8usize,
2156        concat!(
2157            "Offset of field: ",
2158            stringify!(timespec),
2159            "::",
2160            stringify!(tv_nsec)
2161        )
2162    );
2163}
2164#[doc = " Used by other time functions."]
2165#[repr(C)]
2166#[derive(Debug)]
2167pub struct tm {
2168    #[doc = " Seconds.\t[0-60] (1 leap second)"]
2169    pub tm_sec: ::std::os::raw::c_int,
2170    #[doc = " Minutes.\t[0-59]"]
2171    pub tm_min: ::std::os::raw::c_int,
2172    #[doc = " Hours.\t[0-23]"]
2173    pub tm_hour: ::std::os::raw::c_int,
2174    #[doc = " Day.\t\t[1-31]"]
2175    pub tm_mday: ::std::os::raw::c_int,
2176    #[doc = " Month.\t[0-11]"]
2177    pub tm_mon: ::std::os::raw::c_int,
2178    #[doc = " Year\t- 1900."]
2179    pub tm_year: ::std::os::raw::c_int,
2180    #[doc = " Day of week.\t[0-6]"]
2181    pub tm_wday: ::std::os::raw::c_int,
2182    #[doc = " Days in year.[0-365]"]
2183    pub tm_yday: ::std::os::raw::c_int,
2184    #[doc = " DST.\t\t[-1/0/1]"]
2185    pub tm_isdst: ::std::os::raw::c_int,
2186    #[doc = " Seconds east of UTC."]
2187    pub tm_gmtoff: ::std::os::raw::c_long,
2188    #[doc = " Timezone abbreviation."]
2189    pub tm_zone: *const ::std::os::raw::c_char,
2190}
2191#[test]
2192fn bindgen_test_layout_tm() {
2193    const UNINIT: ::std::mem::MaybeUninit<tm> = ::std::mem::MaybeUninit::uninit();
2194    let ptr = UNINIT.as_ptr();
2195    assert_eq!(
2196        ::std::mem::size_of::<tm>(),
2197        56usize,
2198        concat!("Size of: ", stringify!(tm))
2199    );
2200    assert_eq!(
2201        ::std::mem::align_of::<tm>(),
2202        8usize,
2203        concat!("Alignment of ", stringify!(tm))
2204    );
2205    assert_eq!(
2206        unsafe { ::std::ptr::addr_of!((*ptr).tm_sec) as usize - ptr as usize },
2207        0usize,
2208        concat!(
2209            "Offset of field: ",
2210            stringify!(tm),
2211            "::",
2212            stringify!(tm_sec)
2213        )
2214    );
2215    assert_eq!(
2216        unsafe { ::std::ptr::addr_of!((*ptr).tm_min) as usize - ptr as usize },
2217        4usize,
2218        concat!(
2219            "Offset of field: ",
2220            stringify!(tm),
2221            "::",
2222            stringify!(tm_min)
2223        )
2224    );
2225    assert_eq!(
2226        unsafe { ::std::ptr::addr_of!((*ptr).tm_hour) as usize - ptr as usize },
2227        8usize,
2228        concat!(
2229            "Offset of field: ",
2230            stringify!(tm),
2231            "::",
2232            stringify!(tm_hour)
2233        )
2234    );
2235    assert_eq!(
2236        unsafe { ::std::ptr::addr_of!((*ptr).tm_mday) as usize - ptr as usize },
2237        12usize,
2238        concat!(
2239            "Offset of field: ",
2240            stringify!(tm),
2241            "::",
2242            stringify!(tm_mday)
2243        )
2244    );
2245    assert_eq!(
2246        unsafe { ::std::ptr::addr_of!((*ptr).tm_mon) as usize - ptr as usize },
2247        16usize,
2248        concat!(
2249            "Offset of field: ",
2250            stringify!(tm),
2251            "::",
2252            stringify!(tm_mon)
2253        )
2254    );
2255    assert_eq!(
2256        unsafe { ::std::ptr::addr_of!((*ptr).tm_year) as usize - ptr as usize },
2257        20usize,
2258        concat!(
2259            "Offset of field: ",
2260            stringify!(tm),
2261            "::",
2262            stringify!(tm_year)
2263        )
2264    );
2265    assert_eq!(
2266        unsafe { ::std::ptr::addr_of!((*ptr).tm_wday) as usize - ptr as usize },
2267        24usize,
2268        concat!(
2269            "Offset of field: ",
2270            stringify!(tm),
2271            "::",
2272            stringify!(tm_wday)
2273        )
2274    );
2275    assert_eq!(
2276        unsafe { ::std::ptr::addr_of!((*ptr).tm_yday) as usize - ptr as usize },
2277        28usize,
2278        concat!(
2279            "Offset of field: ",
2280            stringify!(tm),
2281            "::",
2282            stringify!(tm_yday)
2283        )
2284    );
2285    assert_eq!(
2286        unsafe { ::std::ptr::addr_of!((*ptr).tm_isdst) as usize - ptr as usize },
2287        32usize,
2288        concat!(
2289            "Offset of field: ",
2290            stringify!(tm),
2291            "::",
2292            stringify!(tm_isdst)
2293        )
2294    );
2295    assert_eq!(
2296        unsafe { ::std::ptr::addr_of!((*ptr).tm_gmtoff) as usize - ptr as usize },
2297        40usize,
2298        concat!(
2299            "Offset of field: ",
2300            stringify!(tm),
2301            "::",
2302            stringify!(tm_gmtoff)
2303        )
2304    );
2305    assert_eq!(
2306        unsafe { ::std::ptr::addr_of!((*ptr).tm_zone) as usize - ptr as usize },
2307        48usize,
2308        concat!(
2309            "Offset of field: ",
2310            stringify!(tm),
2311            "::",
2312            stringify!(tm_zone)
2313        )
2314    );
2315}
2316#[doc = " POSIX.1b structure for timer start values and intervals."]
2317#[repr(C)]
2318#[derive(Debug)]
2319pub struct itimerspec {
2320    pub it_interval: timespec,
2321    pub it_value: timespec,
2322}
2323#[test]
2324fn bindgen_test_layout_itimerspec() {
2325    const UNINIT: ::std::mem::MaybeUninit<itimerspec> = ::std::mem::MaybeUninit::uninit();
2326    let ptr = UNINIT.as_ptr();
2327    assert_eq!(
2328        ::std::mem::size_of::<itimerspec>(),
2329        32usize,
2330        concat!("Size of: ", stringify!(itimerspec))
2331    );
2332    assert_eq!(
2333        ::std::mem::align_of::<itimerspec>(),
2334        8usize,
2335        concat!("Alignment of ", stringify!(itimerspec))
2336    );
2337    assert_eq!(
2338        unsafe { ::std::ptr::addr_of!((*ptr).it_interval) as usize - ptr as usize },
2339        0usize,
2340        concat!(
2341            "Offset of field: ",
2342            stringify!(itimerspec),
2343            "::",
2344            stringify!(it_interval)
2345        )
2346    );
2347    assert_eq!(
2348        unsafe { ::std::ptr::addr_of!((*ptr).it_value) as usize - ptr as usize },
2349        16usize,
2350        concat!(
2351            "Offset of field: ",
2352            stringify!(itimerspec),
2353            "::",
2354            stringify!(it_value)
2355        )
2356    );
2357}
2358#[doc = " We can use a simple forward declaration."]
2359#[repr(C)]
2360#[derive(Debug)]
2361pub struct sigevent {
2362    _unused: [u8; 0],
2363}
2364pub type pid_t = __pid_t;
2365extern "C" {
2366    #[doc = " Time used by the program so far (user time + system time).\nThe result / CLOCKS_PER_SECOND is program time in seconds."]
2367    pub fn clock() -> clock_t;
2368}
2369extern "C" {
2370    #[doc = " Return the current time and put it in *TIMER if TIMER is not NULL."]
2371    pub fn time(__timer: *mut time_t) -> time_t;
2372}
2373extern "C" {
2374    #[doc = " Return the difference between TIME1 and TIME0."]
2375    pub fn difftime(__time1: time_t, __time0: time_t) -> f64;
2376}
2377extern "C" {
2378    #[doc = " Return the `time_t' representation of TP and normalize TP."]
2379    pub fn mktime(__tp: *mut tm) -> time_t;
2380}
2381extern "C" {
2382    #[doc = " Format TP into S according to FORMAT.\nWrite no more than MAXSIZE characters and return the number\nof characters written, or 0 if it would exceed MAXSIZE."]
2383    pub fn strftime(
2384        __s: *mut ::std::os::raw::c_char,
2385        __maxsize: usize,
2386        __format: *const ::std::os::raw::c_char,
2387        __tp: *const tm,
2388    ) -> usize;
2389}
2390#[doc = " Structure for reentrant locale using functions.  This is an\n(almost) opaque type for the user level programs.  The file and\nthis data structure is not standardized.  Don't rely on it.  It can\ngo away without warning."]
2391#[repr(C)]
2392#[derive(Debug)]
2393pub struct __locale_struct {
2394    #[doc = " 13 = __LC_LAST."]
2395    pub __locales: [*mut __locale_data; 13usize],
2396    #[doc = " To increase the speed of this solution we add some special members."]
2397    pub __ctype_b: *const ::std::os::raw::c_ushort,
2398    pub __ctype_tolower: *const ::std::os::raw::c_int,
2399    pub __ctype_toupper: *const ::std::os::raw::c_int,
2400    #[doc = " Note: LC_ALL is not a valid index into this array."]
2401    pub __names: [*const ::std::os::raw::c_char; 13usize],
2402}
2403#[test]
2404fn bindgen_test_layout___locale_struct() {
2405    const UNINIT: ::std::mem::MaybeUninit<__locale_struct> = ::std::mem::MaybeUninit::uninit();
2406    let ptr = UNINIT.as_ptr();
2407    assert_eq!(
2408        ::std::mem::size_of::<__locale_struct>(),
2409        232usize,
2410        concat!("Size of: ", stringify!(__locale_struct))
2411    );
2412    assert_eq!(
2413        ::std::mem::align_of::<__locale_struct>(),
2414        8usize,
2415        concat!("Alignment of ", stringify!(__locale_struct))
2416    );
2417    assert_eq!(
2418        unsafe { ::std::ptr::addr_of!((*ptr).__locales) as usize - ptr as usize },
2419        0usize,
2420        concat!(
2421            "Offset of field: ",
2422            stringify!(__locale_struct),
2423            "::",
2424            stringify!(__locales)
2425        )
2426    );
2427    assert_eq!(
2428        unsafe { ::std::ptr::addr_of!((*ptr).__ctype_b) as usize - ptr as usize },
2429        104usize,
2430        concat!(
2431            "Offset of field: ",
2432            stringify!(__locale_struct),
2433            "::",
2434            stringify!(__ctype_b)
2435        )
2436    );
2437    assert_eq!(
2438        unsafe { ::std::ptr::addr_of!((*ptr).__ctype_tolower) as usize - ptr as usize },
2439        112usize,
2440        concat!(
2441            "Offset of field: ",
2442            stringify!(__locale_struct),
2443            "::",
2444            stringify!(__ctype_tolower)
2445        )
2446    );
2447    assert_eq!(
2448        unsafe { ::std::ptr::addr_of!((*ptr).__ctype_toupper) as usize - ptr as usize },
2449        120usize,
2450        concat!(
2451            "Offset of field: ",
2452            stringify!(__locale_struct),
2453            "::",
2454            stringify!(__ctype_toupper)
2455        )
2456    );
2457    assert_eq!(
2458        unsafe { ::std::ptr::addr_of!((*ptr).__names) as usize - ptr as usize },
2459        128usize,
2460        concat!(
2461            "Offset of field: ",
2462            stringify!(__locale_struct),
2463            "::",
2464            stringify!(__names)
2465        )
2466    );
2467}
2468#[doc = " Structure for reentrant locale using functions.  This is an\n(almost) opaque type for the user level programs.  The file and\nthis data structure is not standardized.  Don't rely on it.  It can\ngo away without warning."]
2469pub type __locale_t = *mut __locale_struct;
2470#[doc = " POSIX 2008 makes locale_t official."]
2471pub type locale_t = __locale_t;
2472extern "C" {
2473    pub fn strftime_l(
2474        __s: *mut ::std::os::raw::c_char,
2475        __maxsize: usize,
2476        __format: *const ::std::os::raw::c_char,
2477        __tp: *const tm,
2478        __loc: __locale_t,
2479    ) -> usize;
2480}
2481extern "C" {
2482    #[doc = " Return the `struct tm' representation of *TIMER\nin Universal Coordinated Time (aka Greenwich Mean Time)."]
2483    pub fn gmtime(__timer: *const time_t) -> *mut tm;
2484}
2485extern "C" {
2486    #[doc = " Return the `struct tm' representation\nof *TIMER in the local timezone."]
2487    pub fn localtime(__timer: *const time_t) -> *mut tm;
2488}
2489extern "C" {
2490    #[doc = " Return the `struct tm' representation of *TIMER in UTC,\nusing *TP to store the result."]
2491    pub fn gmtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
2492}
2493extern "C" {
2494    #[doc = " Return the `struct tm' representation of *TIMER in local time,\nusing *TP to store the result."]
2495    pub fn localtime_r(__timer: *const time_t, __tp: *mut tm) -> *mut tm;
2496}
2497extern "C" {
2498    #[doc = " Return a string of the form \"Day Mon dd hh:mm:ss yyyy\\n\"\nthat is the representation of TP in this format."]
2499    pub fn asctime(__tp: *const tm) -> *mut ::std::os::raw::c_char;
2500}
2501extern "C" {
2502    #[doc = " Equivalent to `asctime (localtime (timer))'."]
2503    pub fn ctime(__timer: *const time_t) -> *mut ::std::os::raw::c_char;
2504}
2505extern "C" {
2506    #[doc = " Return in BUF a string of the form \"Day Mon dd hh:mm:ss yyyy\\n\"\nthat is the representation of TP in this format."]
2507    pub fn asctime_r(
2508        __tp: *const tm,
2509        __buf: *mut ::std::os::raw::c_char,
2510    ) -> *mut ::std::os::raw::c_char;
2511}
2512extern "C" {
2513    #[doc = " Equivalent to `asctime_r (localtime_r (timer, *TMP*), buf)'."]
2514    pub fn ctime_r(
2515        __timer: *const time_t,
2516        __buf: *mut ::std::os::raw::c_char,
2517    ) -> *mut ::std::os::raw::c_char;
2518}
2519extern "C" {
2520    #[doc = " Current timezone names."]
2521    pub static mut __tzname: [*mut ::std::os::raw::c_char; 2usize];
2522}
2523extern "C" {
2524    #[doc = " If daylight-saving time is ever in use."]
2525    pub static mut __daylight: ::std::os::raw::c_int;
2526}
2527extern "C" {
2528    #[doc = " Seconds west of UTC."]
2529    pub static mut __timezone: ::std::os::raw::c_long;
2530}
2531extern "C" {
2532    #[doc = " Same as above."]
2533    pub static mut tzname: [*mut ::std::os::raw::c_char; 2usize];
2534}
2535extern "C" {
2536    #[doc = " Set time conversion information from the TZ environment variable.\nIf TZ is not defined, a locale-dependent default is used."]
2537    pub fn tzset();
2538}
2539extern "C" {
2540    pub static mut daylight: ::std::os::raw::c_int;
2541}
2542extern "C" {
2543    pub static mut timezone: ::std::os::raw::c_long;
2544}
2545extern "C" {
2546    #[doc = " Set the system time to *WHEN.\nThis call is restricted to the superuser."]
2547    pub fn stime(__when: *const time_t) -> ::std::os::raw::c_int;
2548}
2549extern "C" {
2550    #[doc = " Like `mktime', but for TP represents Universal Time, not local time."]
2551    pub fn timegm(__tp: *mut tm) -> time_t;
2552}
2553extern "C" {
2554    #[doc = " Another name for `mktime'."]
2555    pub fn timelocal(__tp: *mut tm) -> time_t;
2556}
2557extern "C" {
2558    #[doc = " Return the number of days in YEAR."]
2559    pub fn dysize(__year: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
2560}
2561extern "C" {
2562    #[doc = " Pause execution for a number of nanoseconds.\n\nThis function is a cancellation point and therefore not marked with\n__THROW."]
2563    pub fn nanosleep(
2564        __requested_time: *const timespec,
2565        __remaining: *mut timespec,
2566    ) -> ::std::os::raw::c_int;
2567}
2568extern "C" {
2569    #[doc = " Get resolution of clock CLOCK_ID."]
2570    pub fn clock_getres(__clock_id: clockid_t, __res: *mut timespec) -> ::std::os::raw::c_int;
2571}
2572extern "C" {
2573    #[doc = " Get current value of clock CLOCK_ID and store it in TP."]
2574    pub fn clock_gettime(__clock_id: clockid_t, __tp: *mut timespec) -> ::std::os::raw::c_int;
2575}
2576extern "C" {
2577    #[doc = " Set clock CLOCK_ID to value TP."]
2578    pub fn clock_settime(__clock_id: clockid_t, __tp: *const timespec) -> ::std::os::raw::c_int;
2579}
2580extern "C" {
2581    #[doc = " High-resolution sleep with the specified clock.\n\nThis function is a cancellation point and therefore not marked with\n__THROW."]
2582    pub fn clock_nanosleep(
2583        __clock_id: clockid_t,
2584        __flags: ::std::os::raw::c_int,
2585        __req: *const timespec,
2586        __rem: *mut timespec,
2587    ) -> ::std::os::raw::c_int;
2588}
2589extern "C" {
2590    #[doc = " Return clock ID for CPU-time clock."]
2591    pub fn clock_getcpuclockid(__pid: pid_t, __clock_id: *mut clockid_t) -> ::std::os::raw::c_int;
2592}
2593extern "C" {
2594    #[doc = " Create new per-process timer using CLOCK_ID."]
2595    pub fn timer_create(
2596        __clock_id: clockid_t,
2597        __evp: *mut sigevent,
2598        __timerid: *mut timer_t,
2599    ) -> ::std::os::raw::c_int;
2600}
2601extern "C" {
2602    #[doc = " Delete timer TIMERID."]
2603    pub fn timer_delete(__timerid: timer_t) -> ::std::os::raw::c_int;
2604}
2605extern "C" {
2606    #[doc = " Set timer TIMERID to VALUE, returning old value in OVALUE."]
2607    pub fn timer_settime(
2608        __timerid: timer_t,
2609        __flags: ::std::os::raw::c_int,
2610        __value: *const itimerspec,
2611        __ovalue: *mut itimerspec,
2612    ) -> ::std::os::raw::c_int;
2613}
2614extern "C" {
2615    #[doc = " Get current value of timer TIMERID and store it in VALUE."]
2616    pub fn timer_gettime(__timerid: timer_t, __value: *mut itimerspec) -> ::std::os::raw::c_int;
2617}
2618extern "C" {
2619    #[doc = " Get expiration overrun for timer TIMERID."]
2620    pub fn timer_getoverrun(__timerid: timer_t) -> ::std::os::raw::c_int;
2621}
2622extern "C" {
2623    #[doc = " Set TS to calendar time based in time base BASE."]
2624    pub fn timespec_get(
2625        __ts: *mut timespec,
2626        __base: ::std::os::raw::c_int,
2627    ) -> ::std::os::raw::c_int;
2628}
2629pub const mgr_cmd_MGR_CMD_NONE: mgr_cmd = -1;
2630pub const mgr_cmd_MGR_CMD_CREATE: mgr_cmd = 0;
2631pub const mgr_cmd_MGR_CMD_DELETE: mgr_cmd = 1;
2632pub const mgr_cmd_MGR_CMD_SET: mgr_cmd = 2;
2633pub const mgr_cmd_MGR_CMD_UNSET: mgr_cmd = 3;
2634pub const mgr_cmd_MGR_CMD_LIST: mgr_cmd = 4;
2635pub const mgr_cmd_MGR_CMD_PRINT: mgr_cmd = 5;
2636pub const mgr_cmd_MGR_CMD_ACTIVE: mgr_cmd = 6;
2637pub const mgr_cmd_MGR_CMD_IMPORT: mgr_cmd = 7;
2638pub const mgr_cmd_MGR_CMD_EXPORT: mgr_cmd = 8;
2639pub const mgr_cmd_MGR_CMD_LAST: mgr_cmd = 9;
2640#[doc = " Add new MGR_CMDs before MGR_CMD_LAST"]
2641pub type mgr_cmd = ::std::os::raw::c_int;
2642pub const mgr_obj_MGR_OBJ_NONE: mgr_obj = -1;
2643#[doc = " Server"]
2644pub const mgr_obj_MGR_OBJ_SERVER: mgr_obj = 0;
2645#[doc = " Queue"]
2646pub const mgr_obj_MGR_OBJ_QUEUE: mgr_obj = 1;
2647#[doc = " Job"]
2648pub const mgr_obj_MGR_OBJ_JOB: mgr_obj = 2;
2649#[doc = " Vnode"]
2650pub const mgr_obj_MGR_OBJ_NODE: mgr_obj = 3;
2651#[doc = " Reservation"]
2652pub const mgr_obj_MGR_OBJ_RESV: mgr_obj = 4;
2653#[doc = " Resource"]
2654pub const mgr_obj_MGR_OBJ_RSC: mgr_obj = 5;
2655#[doc = " Scheduler"]
2656pub const mgr_obj_MGR_OBJ_SCHED: mgr_obj = 6;
2657#[doc = " Host"]
2658pub const mgr_obj_MGR_OBJ_HOST: mgr_obj = 7;
2659#[doc = " Hook"]
2660pub const mgr_obj_MGR_OBJ_HOOK: mgr_obj = 8;
2661#[doc = " PBS Hook"]
2662pub const mgr_obj_MGR_OBJ_PBS_HOOK: mgr_obj = 9;
2663#[doc = " Last entry"]
2664pub const mgr_obj_MGR_OBJ_LAST: mgr_obj = 10;
2665#[doc = " Add new MGR_OBJs before MGR_OBJ_LAST"]
2666pub type mgr_obj = ::std::os::raw::c_int;
2667#[repr(u32)]
2668#[doc = " the pair to this list is in module_pbs_v1.c and must be updated to reflect any changes"]
2669#[derive(Debug, Clone, Hash, PartialEq, Eq)]
2670pub enum batch_op {
2671    SET = 0,
2672    UNSET = 1,
2673    INCR = 2,
2674    DECR = 3,
2675    EQ = 4,
2676    NE = 5,
2677    GE = 6,
2678    GT = 7,
2679    LE = 8,
2680    LT = 9,
2681    DFLT = 10,
2682}
2683#[doc = " This structure is identical to attropl so they can be used\n interchangably.  The op field is not used."]
2684#[repr(C)]
2685#[derive(Debug)]
2686pub struct attrl {
2687    pub next: *mut attrl,
2688    pub name: *mut ::std::os::raw::c_char,
2689    pub resource: *mut ::std::os::raw::c_char,
2690    pub value: *mut ::std::os::raw::c_char,
2691    #[doc = " not used"]
2692    pub op: batch_op,
2693}
2694#[test]
2695fn bindgen_test_layout_attrl() {
2696    const UNINIT: ::std::mem::MaybeUninit<attrl> = ::std::mem::MaybeUninit::uninit();
2697    let ptr = UNINIT.as_ptr();
2698    assert_eq!(
2699        ::std::mem::size_of::<attrl>(),
2700        40usize,
2701        concat!("Size of: ", stringify!(attrl))
2702    );
2703    assert_eq!(
2704        ::std::mem::align_of::<attrl>(),
2705        8usize,
2706        concat!("Alignment of ", stringify!(attrl))
2707    );
2708    assert_eq!(
2709        unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
2710        0usize,
2711        concat!(
2712            "Offset of field: ",
2713            stringify!(attrl),
2714            "::",
2715            stringify!(next)
2716        )
2717    );
2718    assert_eq!(
2719        unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
2720        8usize,
2721        concat!(
2722            "Offset of field: ",
2723            stringify!(attrl),
2724            "::",
2725            stringify!(name)
2726        )
2727    );
2728    assert_eq!(
2729        unsafe { ::std::ptr::addr_of!((*ptr).resource) as usize - ptr as usize },
2730        16usize,
2731        concat!(
2732            "Offset of field: ",
2733            stringify!(attrl),
2734            "::",
2735            stringify!(resource)
2736        )
2737    );
2738    assert_eq!(
2739        unsafe { ::std::ptr::addr_of!((*ptr).value) as usize - ptr as usize },
2740        24usize,
2741        concat!(
2742            "Offset of field: ",
2743            stringify!(attrl),
2744            "::",
2745            stringify!(value)
2746        )
2747    );
2748    assert_eq!(
2749        unsafe { ::std::ptr::addr_of!((*ptr).op) as usize - ptr as usize },
2750        32usize,
2751        concat!("Offset of field: ", stringify!(attrl), "::", stringify!(op))
2752    );
2753}
2754#[repr(C)]
2755#[derive(Debug)]
2756pub struct attropl {
2757    pub next: *mut attropl,
2758    pub name: *mut ::std::os::raw::c_char,
2759    pub resource: *mut ::std::os::raw::c_char,
2760    pub value: *mut ::std::os::raw::c_char,
2761    pub op: batch_op,
2762}
2763#[test]
2764fn bindgen_test_layout_attropl() {
2765    const UNINIT: ::std::mem::MaybeUninit<attropl> = ::std::mem::MaybeUninit::uninit();
2766    let ptr = UNINIT.as_ptr();
2767    assert_eq!(
2768        ::std::mem::size_of::<attropl>(),
2769        40usize,
2770        concat!("Size of: ", stringify!(attropl))
2771    );
2772    assert_eq!(
2773        ::std::mem::align_of::<attropl>(),
2774        8usize,
2775        concat!("Alignment of ", stringify!(attropl))
2776    );
2777    assert_eq!(
2778        unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
2779        0usize,
2780        concat!(
2781            "Offset of field: ",
2782            stringify!(attropl),
2783            "::",
2784            stringify!(next)
2785        )
2786    );
2787    assert_eq!(
2788        unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
2789        8usize,
2790        concat!(
2791            "Offset of field: ",
2792            stringify!(attropl),
2793            "::",
2794            stringify!(name)
2795        )
2796    );
2797    assert_eq!(
2798        unsafe { ::std::ptr::addr_of!((*ptr).resource) as usize - ptr as usize },
2799        16usize,
2800        concat!(
2801            "Offset of field: ",
2802            stringify!(attropl),
2803            "::",
2804            stringify!(resource)
2805        )
2806    );
2807    assert_eq!(
2808        unsafe { ::std::ptr::addr_of!((*ptr).value) as usize - ptr as usize },
2809        24usize,
2810        concat!(
2811            "Offset of field: ",
2812            stringify!(attropl),
2813            "::",
2814            stringify!(value)
2815        )
2816    );
2817    assert_eq!(
2818        unsafe { ::std::ptr::addr_of!((*ptr).op) as usize - ptr as usize },
2819        32usize,
2820        concat!(
2821            "Offset of field: ",
2822            stringify!(attropl),
2823            "::",
2824            stringify!(op)
2825        )
2826    );
2827}
2828#[repr(C)]
2829#[derive(Debug)]
2830pub struct batch_status {
2831    pub next: *mut batch_status,
2832    pub name: *mut ::std::os::raw::c_char,
2833    pub attribs: *mut attrl,
2834    pub text: *mut ::std::os::raw::c_char,
2835}
2836#[test]
2837fn bindgen_test_layout_batch_status() {
2838    const UNINIT: ::std::mem::MaybeUninit<batch_status> = ::std::mem::MaybeUninit::uninit();
2839    let ptr = UNINIT.as_ptr();
2840    assert_eq!(
2841        ::std::mem::size_of::<batch_status>(),
2842        32usize,
2843        concat!("Size of: ", stringify!(batch_status))
2844    );
2845    assert_eq!(
2846        ::std::mem::align_of::<batch_status>(),
2847        8usize,
2848        concat!("Alignment of ", stringify!(batch_status))
2849    );
2850    assert_eq!(
2851        unsafe { ::std::ptr::addr_of!((*ptr).next) as usize - ptr as usize },
2852        0usize,
2853        concat!(
2854            "Offset of field: ",
2855            stringify!(batch_status),
2856            "::",
2857            stringify!(next)
2858        )
2859    );
2860    assert_eq!(
2861        unsafe { ::std::ptr::addr_of!((*ptr).name) as usize - ptr as usize },
2862        8usize,
2863        concat!(
2864            "Offset of field: ",
2865            stringify!(batch_status),
2866            "::",
2867            stringify!(name)
2868        )
2869    );
2870    assert_eq!(
2871        unsafe { ::std::ptr::addr_of!((*ptr).attribs) as usize - ptr as usize },
2872        16usize,
2873        concat!(
2874            "Offset of field: ",
2875            stringify!(batch_status),
2876            "::",
2877            stringify!(attribs)
2878        )
2879    );
2880    assert_eq!(
2881        unsafe { ::std::ptr::addr_of!((*ptr).text) as usize - ptr as usize },
2882        24usize,
2883        concat!(
2884            "Offset of field: ",
2885            stringify!(batch_status),
2886            "::",
2887            stringify!(text)
2888        )
2889    );
2890}
2891#[doc = " structure to hold an attribute that failed verification at ECL\n and the associated errcode and errmsg"]
2892#[repr(C)]
2893#[derive(Debug)]
2894pub struct ecl_attrerr {
2895    pub ecl_attribute: *mut attropl,
2896    pub ecl_errcode: ::std::os::raw::c_int,
2897    pub ecl_errmsg: *mut ::std::os::raw::c_char,
2898}
2899#[test]
2900fn bindgen_test_layout_ecl_attrerr() {
2901    const UNINIT: ::std::mem::MaybeUninit<ecl_attrerr> = ::std::mem::MaybeUninit::uninit();
2902    let ptr = UNINIT.as_ptr();
2903    assert_eq!(
2904        ::std::mem::size_of::<ecl_attrerr>(),
2905        24usize,
2906        concat!("Size of: ", stringify!(ecl_attrerr))
2907    );
2908    assert_eq!(
2909        ::std::mem::align_of::<ecl_attrerr>(),
2910        8usize,
2911        concat!("Alignment of ", stringify!(ecl_attrerr))
2912    );
2913    assert_eq!(
2914        unsafe { ::std::ptr::addr_of!((*ptr).ecl_attribute) as usize - ptr as usize },
2915        0usize,
2916        concat!(
2917            "Offset of field: ",
2918            stringify!(ecl_attrerr),
2919            "::",
2920            stringify!(ecl_attribute)
2921        )
2922    );
2923    assert_eq!(
2924        unsafe { ::std::ptr::addr_of!((*ptr).ecl_errcode) as usize - ptr as usize },
2925        8usize,
2926        concat!(
2927            "Offset of field: ",
2928            stringify!(ecl_attrerr),
2929            "::",
2930            stringify!(ecl_errcode)
2931        )
2932    );
2933    assert_eq!(
2934        unsafe { ::std::ptr::addr_of!((*ptr).ecl_errmsg) as usize - ptr as usize },
2935        16usize,
2936        concat!(
2937            "Offset of field: ",
2938            stringify!(ecl_attrerr),
2939            "::",
2940            stringify!(ecl_errmsg)
2941        )
2942    );
2943}
2944#[doc = " structure to hold a number of attributes that failed verification"]
2945#[repr(C)]
2946#[derive(Debug)]
2947pub struct ecl_attribute_errors {
2948    #[doc = " num of attributes that failed verification"]
2949    pub ecl_numerrors: ::std::os::raw::c_int,
2950    #[doc = " ecl_attrerr array of structs"]
2951    pub ecl_attrerr: *mut ecl_attrerr,
2952}
2953#[test]
2954fn bindgen_test_layout_ecl_attribute_errors() {
2955    const UNINIT: ::std::mem::MaybeUninit<ecl_attribute_errors> = ::std::mem::MaybeUninit::uninit();
2956    let ptr = UNINIT.as_ptr();
2957    assert_eq!(
2958        ::std::mem::size_of::<ecl_attribute_errors>(),
2959        16usize,
2960        concat!("Size of: ", stringify!(ecl_attribute_errors))
2961    );
2962    assert_eq!(
2963        ::std::mem::align_of::<ecl_attribute_errors>(),
2964        8usize,
2965        concat!("Alignment of ", stringify!(ecl_attribute_errors))
2966    );
2967    assert_eq!(
2968        unsafe { ::std::ptr::addr_of!((*ptr).ecl_numerrors) as usize - ptr as usize },
2969        0usize,
2970        concat!(
2971            "Offset of field: ",
2972            stringify!(ecl_attribute_errors),
2973            "::",
2974            stringify!(ecl_numerrors)
2975        )
2976    );
2977    assert_eq!(
2978        unsafe { ::std::ptr::addr_of!((*ptr).ecl_attrerr) as usize - ptr as usize },
2979        8usize,
2980        concat!(
2981            "Offset of field: ",
2982            stringify!(ecl_attribute_errors),
2983            "::",
2984            stringify!(ecl_attrerr)
2985        )
2986    );
2987}
2988pub const preempt_method_PREEMPT_METHOD_LOW: preempt_method = 0;
2989pub const preempt_method_PREEMPT_METHOD_SUSPEND: preempt_method = 1;
2990pub const preempt_method_PREEMPT_METHOD_CHECKPOINT: preempt_method = 2;
2991pub const preempt_method_PREEMPT_METHOD_REQUEUE: preempt_method = 3;
2992pub const preempt_method_PREEMPT_METHOD_DELETE: preempt_method = 4;
2993pub const preempt_method_PREEMPT_METHOD_HIGH: preempt_method = 5;
2994pub type preempt_method = ::std::os::raw::c_uint;
2995#[repr(C)]
2996#[derive(Debug)]
2997pub struct preempt_job_info {
2998    pub job_id: [::std::os::raw::c_char; 274usize],
2999    pub order: [::std::os::raw::c_char; 6usize],
3000}
3001#[test]
3002fn bindgen_test_layout_preempt_job_info() {
3003    const UNINIT: ::std::mem::MaybeUninit<preempt_job_info> = ::std::mem::MaybeUninit::uninit();
3004    let ptr = UNINIT.as_ptr();
3005    assert_eq!(
3006        ::std::mem::size_of::<preempt_job_info>(),
3007        280usize,
3008        concat!("Size of: ", stringify!(preempt_job_info))
3009    );
3010    assert_eq!(
3011        ::std::mem::align_of::<preempt_job_info>(),
3012        1usize,
3013        concat!("Alignment of ", stringify!(preempt_job_info))
3014    );
3015    assert_eq!(
3016        unsafe { ::std::ptr::addr_of!((*ptr).job_id) as usize - ptr as usize },
3017        0usize,
3018        concat!(
3019            "Offset of field: ",
3020            stringify!(preempt_job_info),
3021            "::",
3022            stringify!(job_id)
3023        )
3024    );
3025    assert_eq!(
3026        unsafe { ::std::ptr::addr_of!((*ptr).order) as usize - ptr as usize },
3027        274usize,
3028        concat!(
3029            "Offset of field: ",
3030            stringify!(preempt_job_info),
3031            "::",
3032            stringify!(order)
3033        )
3034    );
3035}
3036#[doc = " Resource Reservation Information"]
3037pub type pbs_resource_t = ::std::os::raw::c_int;
3038pub const resv_states_RESV_NONE: resv_states = 0;
3039pub const resv_states_RESV_UNCONFIRMED: resv_states = 1;
3040pub const resv_states_RESV_CONFIRMED: resv_states = 2;
3041pub const resv_states_RESV_WAIT: resv_states = 3;
3042pub const resv_states_RESV_TIME_TO_RUN: resv_states = 4;
3043pub const resv_states_RESV_RUNNING: resv_states = 5;
3044pub const resv_states_RESV_FINISHED: resv_states = 6;
3045pub const resv_states_RESV_BEING_DELETED: resv_states = 7;
3046pub const resv_states_RESV_DELETED: resv_states = 8;
3047pub const resv_states_RESV_DELETING_JOBS: resv_states = 9;
3048pub const resv_states_RESV_DEGRADED: resv_states = 10;
3049pub const resv_states_RESV_BEING_ALTERED: resv_states = 11;
3050pub const resv_states_RESV_IN_CONFLICT: resv_states = 12;
3051pub type resv_states = ::std::os::raw::c_uint;
3052extern "C" {
3053    pub fn __pbs_server_location() -> *mut ::std::os::raw::c_char;
3054}
3055extern "C" {
3056    pub fn pbs_asyrunjob(
3057        arg1: ::std::os::raw::c_int,
3058        arg2: *mut ::std::os::raw::c_char,
3059        arg3: *mut ::std::os::raw::c_char,
3060        arg4: *mut ::std::os::raw::c_char,
3061    ) -> ::std::os::raw::c_int;
3062}
3063extern "C" {
3064    pub fn pbs_alterjob(
3065        arg1: ::std::os::raw::c_int,
3066        arg2: *mut ::std::os::raw::c_char,
3067        arg3: *mut attrl,
3068        arg4: *mut ::std::os::raw::c_char,
3069    ) -> ::std::os::raw::c_int;
3070}
3071extern "C" {
3072    pub fn pbs_asyalterjob(
3073        c: ::std::os::raw::c_int,
3074        jobid: *mut ::std::os::raw::c_char,
3075        attrib: *mut attrl,
3076        extend: *mut ::std::os::raw::c_char,
3077    ) -> ::std::os::raw::c_int;
3078}
3079extern "C" {
3080    pub fn pbs_confirmresv(
3081        arg1: ::std::os::raw::c_int,
3082        arg2: *mut ::std::os::raw::c_char,
3083        arg3: *mut ::std::os::raw::c_char,
3084        arg4: ::std::os::raw::c_ulong,
3085        arg5: *mut ::std::os::raw::c_char,
3086    ) -> ::std::os::raw::c_int;
3087}
3088extern "C" {
3089    pub fn pbs_connect(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int;
3090}
3091extern "C" {
3092    pub fn pbs_connect_extend(
3093        arg1: *mut ::std::os::raw::c_char,
3094        arg2: *mut ::std::os::raw::c_char,
3095    ) -> ::std::os::raw::c_int;
3096}
3097extern "C" {
3098    pub fn pbs_disconnect(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3099}
3100extern "C" {
3101    pub fn pbs_manager(
3102        arg1: ::std::os::raw::c_int,
3103        arg2: ::std::os::raw::c_int,
3104        arg3: ::std::os::raw::c_int,
3105        arg4: *mut ::std::os::raw::c_char,
3106        arg5: *mut attropl,
3107        arg6: *mut ::std::os::raw::c_char,
3108    ) -> ::std::os::raw::c_int;
3109}
3110extern "C" {
3111    pub fn pbs_default() -> *mut ::std::os::raw::c_char;
3112}
3113extern "C" {
3114    pub fn pbs_deljob(
3115        arg1: ::std::os::raw::c_int,
3116        arg2: *mut ::std::os::raw::c_char,
3117        arg3: *mut ::std::os::raw::c_char,
3118    ) -> ::std::os::raw::c_int;
3119}
3120extern "C" {
3121    pub fn pbs_geterrmsg(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char;
3122}
3123extern "C" {
3124    pub fn pbs_holdjob(
3125        arg1: ::std::os::raw::c_int,
3126        arg2: *mut ::std::os::raw::c_char,
3127        arg3: *mut ::std::os::raw::c_char,
3128        arg4: *mut ::std::os::raw::c_char,
3129    ) -> ::std::os::raw::c_int;
3130}
3131extern "C" {
3132    pub fn pbs_loadconf(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int;
3133}
3134extern "C" {
3135    pub fn pbs_locjob(
3136        arg1: ::std::os::raw::c_int,
3137        arg2: *mut ::std::os::raw::c_char,
3138        arg3: *mut ::std::os::raw::c_char,
3139    ) -> *mut ::std::os::raw::c_char;
3140}
3141extern "C" {
3142    pub fn pbs_movejob(
3143        arg1: ::std::os::raw::c_int,
3144        arg2: *mut ::std::os::raw::c_char,
3145        arg3: *mut ::std::os::raw::c_char,
3146        arg4: *mut ::std::os::raw::c_char,
3147    ) -> ::std::os::raw::c_int;
3148}
3149extern "C" {
3150    pub fn pbs_msgjob(
3151        arg1: ::std::os::raw::c_int,
3152        arg2: *mut ::std::os::raw::c_char,
3153        arg3: ::std::os::raw::c_int,
3154        arg4: *mut ::std::os::raw::c_char,
3155        arg5: *mut ::std::os::raw::c_char,
3156    ) -> ::std::os::raw::c_int;
3157}
3158extern "C" {
3159    pub fn pbs_relnodesjob(
3160        arg1: ::std::os::raw::c_int,
3161        arg2: *mut ::std::os::raw::c_char,
3162        arg3: *mut ::std::os::raw::c_char,
3163        arg4: *mut ::std::os::raw::c_char,
3164    ) -> ::std::os::raw::c_int;
3165}
3166extern "C" {
3167    pub fn pbs_orderjob(
3168        arg1: ::std::os::raw::c_int,
3169        arg2: *mut ::std::os::raw::c_char,
3170        arg3: *mut ::std::os::raw::c_char,
3171        arg4: *mut ::std::os::raw::c_char,
3172    ) -> ::std::os::raw::c_int;
3173}
3174extern "C" {
3175    pub fn pbs_rerunjob(
3176        arg1: ::std::os::raw::c_int,
3177        arg2: *mut ::std::os::raw::c_char,
3178        arg3: *mut ::std::os::raw::c_char,
3179    ) -> ::std::os::raw::c_int;
3180}
3181extern "C" {
3182    pub fn pbs_rlsjob(
3183        arg1: ::std::os::raw::c_int,
3184        arg2: *mut ::std::os::raw::c_char,
3185        arg3: *mut ::std::os::raw::c_char,
3186        arg4: *mut ::std::os::raw::c_char,
3187    ) -> ::std::os::raw::c_int;
3188}
3189extern "C" {
3190    pub fn pbs_runjob(
3191        arg1: ::std::os::raw::c_int,
3192        arg2: *mut ::std::os::raw::c_char,
3193        arg3: *mut ::std::os::raw::c_char,
3194        arg4: *mut ::std::os::raw::c_char,
3195    ) -> ::std::os::raw::c_int;
3196}
3197extern "C" {
3198    pub fn pbs_selectjob(
3199        arg1: ::std::os::raw::c_int,
3200        arg2: *mut attropl,
3201        arg3: *mut ::std::os::raw::c_char,
3202    ) -> *mut *mut ::std::os::raw::c_char;
3203}
3204extern "C" {
3205    pub fn pbs_sigjob(
3206        arg1: ::std::os::raw::c_int,
3207        arg2: *mut ::std::os::raw::c_char,
3208        arg3: *mut ::std::os::raw::c_char,
3209        arg4: *mut ::std::os::raw::c_char,
3210    ) -> ::std::os::raw::c_int;
3211}
3212extern "C" {
3213    pub fn pbs_statfree(arg1: *mut batch_status);
3214}
3215extern "C" {
3216    pub fn pbs_statrsc(
3217        arg1: ::std::os::raw::c_int,
3218        arg2: *mut ::std::os::raw::c_char,
3219        arg3: *mut attrl,
3220        arg4: *mut ::std::os::raw::c_char,
3221    ) -> *mut batch_status;
3222}
3223extern "C" {
3224    pub fn pbs_statjob(
3225        arg1: ::std::os::raw::c_int,
3226        arg2: *mut ::std::os::raw::c_char,
3227        arg3: *mut attrl,
3228        arg4: *mut ::std::os::raw::c_char,
3229    ) -> *mut batch_status;
3230}
3231extern "C" {
3232    pub fn pbs_selstat(
3233        arg1: ::std::os::raw::c_int,
3234        arg2: *mut attropl,
3235        arg3: *mut attrl,
3236        arg4: *mut ::std::os::raw::c_char,
3237    ) -> *mut batch_status;
3238}
3239extern "C" {
3240    pub fn pbs_statque(
3241        arg1: ::std::os::raw::c_int,
3242        arg2: *mut ::std::os::raw::c_char,
3243        arg3: *mut attrl,
3244        arg4: *mut ::std::os::raw::c_char,
3245    ) -> *mut batch_status;
3246}
3247extern "C" {
3248    pub fn pbs_statserver(
3249        arg1: ::std::os::raw::c_int,
3250        arg2: *mut attrl,
3251        arg3: *mut ::std::os::raw::c_char,
3252    ) -> *mut batch_status;
3253}
3254extern "C" {
3255    pub fn pbs_statsched(
3256        arg1: ::std::os::raw::c_int,
3257        arg2: *mut attrl,
3258        arg3: *mut ::std::os::raw::c_char,
3259    ) -> *mut batch_status;
3260}
3261extern "C" {
3262    pub fn pbs_stathost(
3263        arg1: ::std::os::raw::c_int,
3264        arg2: *mut ::std::os::raw::c_char,
3265        arg3: *mut attrl,
3266        arg4: *mut ::std::os::raw::c_char,
3267    ) -> *mut batch_status;
3268}
3269extern "C" {
3270    pub fn pbs_statnode(
3271        arg1: ::std::os::raw::c_int,
3272        arg2: *mut ::std::os::raw::c_char,
3273        arg3: *mut attrl,
3274        arg4: *mut ::std::os::raw::c_char,
3275    ) -> *mut batch_status;
3276}
3277extern "C" {
3278    pub fn pbs_statvnode(
3279        arg1: ::std::os::raw::c_int,
3280        arg2: *mut ::std::os::raw::c_char,
3281        arg3: *mut attrl,
3282        arg4: *mut ::std::os::raw::c_char,
3283    ) -> *mut batch_status;
3284}
3285extern "C" {
3286    pub fn pbs_statresv(
3287        arg1: ::std::os::raw::c_int,
3288        arg2: *mut ::std::os::raw::c_char,
3289        arg3: *mut attrl,
3290        arg4: *mut ::std::os::raw::c_char,
3291    ) -> *mut batch_status;
3292}
3293extern "C" {
3294    pub fn pbs_stathook(
3295        arg1: ::std::os::raw::c_int,
3296        arg2: *mut ::std::os::raw::c_char,
3297        arg3: *mut attrl,
3298        arg4: *mut ::std::os::raw::c_char,
3299    ) -> *mut batch_status;
3300}
3301extern "C" {
3302    pub fn pbs_get_attributes_in_error(arg1: ::std::os::raw::c_int) -> *mut ecl_attribute_errors;
3303}
3304extern "C" {
3305    pub fn pbs_submit(
3306        arg1: ::std::os::raw::c_int,
3307        arg2: *mut attropl,
3308        arg3: *mut ::std::os::raw::c_char,
3309        arg4: *mut ::std::os::raw::c_char,
3310        arg5: *mut ::std::os::raw::c_char,
3311    ) -> *mut ::std::os::raw::c_char;
3312}
3313extern "C" {
3314    pub fn pbs_submit_resv(
3315        arg1: ::std::os::raw::c_int,
3316        arg2: *mut attropl,
3317        arg3: *mut ::std::os::raw::c_char,
3318    ) -> *mut ::std::os::raw::c_char;
3319}
3320extern "C" {
3321    pub fn pbs_delresv(
3322        arg1: ::std::os::raw::c_int,
3323        arg2: *mut ::std::os::raw::c_char,
3324        arg3: *mut ::std::os::raw::c_char,
3325    ) -> ::std::os::raw::c_int;
3326}
3327extern "C" {
3328    pub fn pbs_terminate(
3329        arg1: ::std::os::raw::c_int,
3330        arg2: ::std::os::raw::c_int,
3331        arg3: *mut ::std::os::raw::c_char,
3332    ) -> ::std::os::raw::c_int;
3333}
3334extern "C" {
3335    pub fn pbs_modify_resv(
3336        arg1: ::std::os::raw::c_int,
3337        arg2: *mut ::std::os::raw::c_char,
3338        arg3: *mut attropl,
3339        arg4: *mut ::std::os::raw::c_char,
3340    ) -> *mut ::std::os::raw::c_char;
3341}
3342extern "C" {
3343    pub fn pbs_preempt_jobs(
3344        arg1: ::std::os::raw::c_int,
3345        arg2: *mut *mut ::std::os::raw::c_char,
3346    ) -> *mut preempt_job_info;
3347}
3348extern "C" {
3349    #[doc = " IFL function pointers"]
3350    pub static mut pfn_pbs_asyrunjob: ::std::option::Option<
3351        unsafe extern "C" fn(
3352            arg1: ::std::os::raw::c_int,
3353            arg2: *mut ::std::os::raw::c_char,
3354            arg3: *mut ::std::os::raw::c_char,
3355            arg4: *mut ::std::os::raw::c_char,
3356        ) -> ::std::os::raw::c_int,
3357    >;
3358}
3359extern "C" {
3360    pub static mut pfn_pbs_alterjob: ::std::option::Option<
3361        unsafe extern "C" fn(
3362            arg1: ::std::os::raw::c_int,
3363            arg2: *mut ::std::os::raw::c_char,
3364            arg3: *mut attrl,
3365            arg4: *mut ::std::os::raw::c_char,
3366        ) -> ::std::os::raw::c_int,
3367    >;
3368}
3369extern "C" {
3370    pub static mut pfn_pbs_asyalterjob: ::std::option::Option<
3371        unsafe extern "C" fn(
3372            arg1: ::std::os::raw::c_int,
3373            arg2: *mut ::std::os::raw::c_char,
3374            arg3: *mut attrl,
3375            arg4: *mut ::std::os::raw::c_char,
3376        ) -> ::std::os::raw::c_int,
3377    >;
3378}
3379extern "C" {
3380    pub static mut pfn_pbs_confirmresv: ::std::option::Option<
3381        unsafe extern "C" fn(
3382            arg1: ::std::os::raw::c_int,
3383            arg2: *mut ::std::os::raw::c_char,
3384            arg3: *mut ::std::os::raw::c_char,
3385            arg4: ::std::os::raw::c_ulong,
3386            arg5: *mut ::std::os::raw::c_char,
3387        ) -> ::std::os::raw::c_int,
3388    >;
3389}
3390extern "C" {
3391    pub static mut pfn_pbs_connect: ::std::option::Option<
3392        unsafe extern "C" fn(arg1: *mut ::std::os::raw::c_char) -> ::std::os::raw::c_int,
3393    >;
3394}
3395extern "C" {
3396    pub static mut pfn_pbs_connect_extend: ::std::option::Option<
3397        unsafe extern "C" fn(
3398            arg1: *mut ::std::os::raw::c_char,
3399            arg2: *mut ::std::os::raw::c_char,
3400        ) -> ::std::os::raw::c_int,
3401    >;
3402}
3403extern "C" {
3404    pub static mut pfn_pbs_default:
3405        ::std::option::Option<unsafe extern "C" fn() -> *mut ::std::os::raw::c_char>;
3406}
3407extern "C" {
3408    pub static mut pfn_pbs_deljob: ::std::option::Option<
3409        unsafe extern "C" fn(
3410            arg1: ::std::os::raw::c_int,
3411            arg2: *mut ::std::os::raw::c_char,
3412            arg3: *mut ::std::os::raw::c_char,
3413        ) -> ::std::os::raw::c_int,
3414    >;
3415}
3416extern "C" {
3417    pub static mut pfn_pbs_disconnect: ::std::option::Option<
3418        unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
3419    >;
3420}
3421extern "C" {
3422    pub static mut pfn_pbs_geterrmsg: ::std::option::Option<
3423        unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut ::std::os::raw::c_char,
3424    >;
3425}
3426extern "C" {
3427    pub static mut pfn_pbs_holdjob: ::std::option::Option<
3428        unsafe extern "C" fn(
3429            arg1: ::std::os::raw::c_int,
3430            arg2: *mut ::std::os::raw::c_char,
3431            arg3: *mut ::std::os::raw::c_char,
3432            arg4: *mut ::std::os::raw::c_char,
3433        ) -> ::std::os::raw::c_int,
3434    >;
3435}
3436extern "C" {
3437    pub static mut pfn_pbs_loadconf: ::std::option::Option<
3438        unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> ::std::os::raw::c_int,
3439    >;
3440}
3441extern "C" {
3442    pub static mut pfn_pbs_locjob: ::std::option::Option<
3443        unsafe extern "C" fn(
3444            arg1: ::std::os::raw::c_int,
3445            arg2: *mut ::std::os::raw::c_char,
3446            arg3: *mut ::std::os::raw::c_char,
3447        ) -> *mut ::std::os::raw::c_char,
3448    >;
3449}
3450extern "C" {
3451    pub static mut pfn_pbs_manager: ::std::option::Option<
3452        unsafe extern "C" fn(
3453            arg1: ::std::os::raw::c_int,
3454            arg2: ::std::os::raw::c_int,
3455            arg3: ::std::os::raw::c_int,
3456            arg4: *mut ::std::os::raw::c_char,
3457            arg5: *mut attropl,
3458            arg6: *mut ::std::os::raw::c_char,
3459        ) -> ::std::os::raw::c_int,
3460    >;
3461}
3462extern "C" {
3463    pub static mut pfn_pbs_movejob: ::std::option::Option<
3464        unsafe extern "C" fn(
3465            arg1: ::std::os::raw::c_int,
3466            arg2: *mut ::std::os::raw::c_char,
3467            arg3: *mut ::std::os::raw::c_char,
3468            arg4: *mut ::std::os::raw::c_char,
3469        ) -> ::std::os::raw::c_int,
3470    >;
3471}
3472extern "C" {
3473    pub static mut pfn_pbs_msgjob: ::std::option::Option<
3474        unsafe extern "C" fn(
3475            arg1: ::std::os::raw::c_int,
3476            arg2: *mut ::std::os::raw::c_char,
3477            arg3: ::std::os::raw::c_int,
3478            arg4: *mut ::std::os::raw::c_char,
3479            arg5: *mut ::std::os::raw::c_char,
3480        ) -> ::std::os::raw::c_int,
3481    >;
3482}
3483extern "C" {
3484    pub static mut pfn_pbs_orderjob: ::std::option::Option<
3485        unsafe extern "C" fn(
3486            arg1: ::std::os::raw::c_int,
3487            arg2: *mut ::std::os::raw::c_char,
3488            arg3: *mut ::std::os::raw::c_char,
3489            arg4: *mut ::std::os::raw::c_char,
3490        ) -> ::std::os::raw::c_int,
3491    >;
3492}
3493extern "C" {
3494    pub static mut pfn_pbs_rerunjob: ::std::option::Option<
3495        unsafe extern "C" fn(
3496            arg1: ::std::os::raw::c_int,
3497            arg2: *mut ::std::os::raw::c_char,
3498            arg3: *mut ::std::os::raw::c_char,
3499        ) -> ::std::os::raw::c_int,
3500    >;
3501}
3502extern "C" {
3503    pub static mut pfn_pbs_rlsjob: ::std::option::Option<
3504        unsafe extern "C" fn(
3505            arg1: ::std::os::raw::c_int,
3506            arg2: *mut ::std::os::raw::c_char,
3507            arg3: *mut ::std::os::raw::c_char,
3508            arg4: *mut ::std::os::raw::c_char,
3509        ) -> ::std::os::raw::c_int,
3510    >;
3511}
3512extern "C" {
3513    pub static mut pfn_pbs_runjob: ::std::option::Option<
3514        unsafe extern "C" fn(
3515            arg1: ::std::os::raw::c_int,
3516            arg2: *mut ::std::os::raw::c_char,
3517            arg3: *mut ::std::os::raw::c_char,
3518            arg4: *mut ::std::os::raw::c_char,
3519        ) -> ::std::os::raw::c_int,
3520    >;
3521}
3522extern "C" {
3523    pub static mut pfn_pbs_selectjob: ::std::option::Option<
3524        unsafe extern "C" fn(
3525            arg1: ::std::os::raw::c_int,
3526            arg2: *mut attropl,
3527            arg3: *mut ::std::os::raw::c_char,
3528        ) -> *mut *mut ::std::os::raw::c_char,
3529    >;
3530}
3531extern "C" {
3532    pub static mut pfn_pbs_sigjob: ::std::option::Option<
3533        unsafe extern "C" fn(
3534            arg1: ::std::os::raw::c_int,
3535            arg2: *mut ::std::os::raw::c_char,
3536            arg3: *mut ::std::os::raw::c_char,
3537            arg4: *mut ::std::os::raw::c_char,
3538        ) -> ::std::os::raw::c_int,
3539    >;
3540}
3541extern "C" {
3542    pub static mut pfn_pbs_statfree:
3543        ::std::option::Option<unsafe extern "C" fn(arg1: *mut batch_status)>;
3544}
3545extern "C" {
3546    pub static mut pfn_pbs_statrsc: ::std::option::Option<
3547        unsafe extern "C" fn(
3548            arg1: ::std::os::raw::c_int,
3549            arg2: *mut ::std::os::raw::c_char,
3550            arg3: *mut attrl,
3551            arg4: *mut ::std::os::raw::c_char,
3552        ) -> *mut batch_status,
3553    >;
3554}
3555extern "C" {
3556    pub static mut pfn_pbs_statjob: ::std::option::Option<
3557        unsafe extern "C" fn(
3558            arg1: ::std::os::raw::c_int,
3559            arg2: *mut ::std::os::raw::c_char,
3560            arg3: *mut attrl,
3561            arg4: *mut ::std::os::raw::c_char,
3562        ) -> *mut batch_status,
3563    >;
3564}
3565extern "C" {
3566    pub static mut pfn_pbs_selstat: ::std::option::Option<
3567        unsafe extern "C" fn(
3568            arg1: ::std::os::raw::c_int,
3569            arg2: *mut attropl,
3570            arg3: *mut attrl,
3571            arg4: *mut ::std::os::raw::c_char,
3572        ) -> *mut batch_status,
3573    >;
3574}
3575extern "C" {
3576    pub static mut pfn_pbs_statque: ::std::option::Option<
3577        unsafe extern "C" fn(
3578            arg1: ::std::os::raw::c_int,
3579            arg2: *mut ::std::os::raw::c_char,
3580            arg3: *mut attrl,
3581            arg4: *mut ::std::os::raw::c_char,
3582        ) -> *mut batch_status,
3583    >;
3584}
3585extern "C" {
3586    pub static mut pfn_pbs_statserver: ::std::option::Option<
3587        unsafe extern "C" fn(
3588            arg1: ::std::os::raw::c_int,
3589            arg2: *mut attrl,
3590            arg3: *mut ::std::os::raw::c_char,
3591        ) -> *mut batch_status,
3592    >;
3593}
3594extern "C" {
3595    pub static mut pfn_pbs_statsched: ::std::option::Option<
3596        unsafe extern "C" fn(
3597            arg1: ::std::os::raw::c_int,
3598            arg2: *mut attrl,
3599            arg3: *mut ::std::os::raw::c_char,
3600        ) -> *mut batch_status,
3601    >;
3602}
3603extern "C" {
3604    pub static mut pfn_pbs_stathost: ::std::option::Option<
3605        unsafe extern "C" fn(
3606            arg1: ::std::os::raw::c_int,
3607            arg2: *mut ::std::os::raw::c_char,
3608            arg3: *mut attrl,
3609            arg4: *mut ::std::os::raw::c_char,
3610        ) -> *mut batch_status,
3611    >;
3612}
3613extern "C" {
3614    pub static mut pfn_pbs_statnode: ::std::option::Option<
3615        unsafe extern "C" fn(
3616            arg1: ::std::os::raw::c_int,
3617            arg2: *mut ::std::os::raw::c_char,
3618            arg3: *mut attrl,
3619            arg4: *mut ::std::os::raw::c_char,
3620        ) -> *mut batch_status,
3621    >;
3622}
3623extern "C" {
3624    pub static mut pfn_pbs_statvnode: ::std::option::Option<
3625        unsafe extern "C" fn(
3626            arg1: ::std::os::raw::c_int,
3627            arg2: *mut ::std::os::raw::c_char,
3628            arg3: *mut attrl,
3629            arg4: *mut ::std::os::raw::c_char,
3630        ) -> *mut batch_status,
3631    >;
3632}
3633extern "C" {
3634    pub static mut pfn_pbs_statresv: ::std::option::Option<
3635        unsafe extern "C" fn(
3636            arg1: ::std::os::raw::c_int,
3637            arg2: *mut ::std::os::raw::c_char,
3638            arg3: *mut attrl,
3639            arg4: *mut ::std::os::raw::c_char,
3640        ) -> *mut batch_status,
3641    >;
3642}
3643extern "C" {
3644    pub static mut pfn_pbs_stathook: ::std::option::Option<
3645        unsafe extern "C" fn(
3646            arg1: ::std::os::raw::c_int,
3647            arg2: *mut ::std::os::raw::c_char,
3648            arg3: *mut attrl,
3649            arg4: *mut ::std::os::raw::c_char,
3650        ) -> *mut batch_status,
3651    >;
3652}
3653extern "C" {
3654    pub static mut pfn_pbs_get_attributes_in_error: ::std::option::Option<
3655        unsafe extern "C" fn(arg1: ::std::os::raw::c_int) -> *mut ecl_attribute_errors,
3656    >;
3657}
3658extern "C" {
3659    pub static mut pfn_pbs_submit: ::std::option::Option<
3660        unsafe extern "C" fn(
3661            arg1: ::std::os::raw::c_int,
3662            arg2: *mut attropl,
3663            arg3: *mut ::std::os::raw::c_char,
3664            arg4: *mut ::std::os::raw::c_char,
3665            arg5: *mut ::std::os::raw::c_char,
3666        ) -> *mut ::std::os::raw::c_char,
3667    >;
3668}
3669extern "C" {
3670    pub static mut pfn_pbs_submit_resv: ::std::option::Option<
3671        unsafe extern "C" fn(
3672            arg1: ::std::os::raw::c_int,
3673            arg2: *mut attropl,
3674            arg3: *mut ::std::os::raw::c_char,
3675        ) -> *mut ::std::os::raw::c_char,
3676    >;
3677}
3678extern "C" {
3679    pub static mut pfn_pbs_delresv: ::std::option::Option<
3680        unsafe extern "C" fn(
3681            arg1: ::std::os::raw::c_int,
3682            arg2: *mut ::std::os::raw::c_char,
3683            arg3: *mut ::std::os::raw::c_char,
3684        ) -> ::std::os::raw::c_int,
3685    >;
3686}
3687extern "C" {
3688    pub static mut pfn_pbs_terminate: ::std::option::Option<
3689        unsafe extern "C" fn(
3690            arg1: ::std::os::raw::c_int,
3691            arg2: ::std::os::raw::c_int,
3692            arg3: *mut ::std::os::raw::c_char,
3693        ) -> ::std::os::raw::c_int,
3694    >;
3695}
3696extern "C" {
3697    pub static mut pfn_pbs_preempt_jobs: ::std::option::Option<
3698        unsafe extern "C" fn(
3699            arg1: ::std::os::raw::c_int,
3700            arg2: *mut *mut ::std::os::raw::c_char,
3701        ) -> *mut preempt_job_info,
3702    >;
3703}
3704pub type __builtin_va_list = [__va_list_tag; 1usize];
3705#[repr(C)]
3706#[derive(Debug)]
3707pub struct __va_list_tag {
3708    pub gp_offset: ::std::os::raw::c_uint,
3709    pub fp_offset: ::std::os::raw::c_uint,
3710    pub overflow_arg_area: *mut ::std::os::raw::c_void,
3711    pub reg_save_area: *mut ::std::os::raw::c_void,
3712}
3713#[test]
3714fn bindgen_test_layout___va_list_tag() {
3715    const UNINIT: ::std::mem::MaybeUninit<__va_list_tag> = ::std::mem::MaybeUninit::uninit();
3716    let ptr = UNINIT.as_ptr();
3717    assert_eq!(
3718        ::std::mem::size_of::<__va_list_tag>(),
3719        24usize,
3720        concat!("Size of: ", stringify!(__va_list_tag))
3721    );
3722    assert_eq!(
3723        ::std::mem::align_of::<__va_list_tag>(),
3724        8usize,
3725        concat!("Alignment of ", stringify!(__va_list_tag))
3726    );
3727    assert_eq!(
3728        unsafe { ::std::ptr::addr_of!((*ptr).gp_offset) as usize - ptr as usize },
3729        0usize,
3730        concat!(
3731            "Offset of field: ",
3732            stringify!(__va_list_tag),
3733            "::",
3734            stringify!(gp_offset)
3735        )
3736    );
3737    assert_eq!(
3738        unsafe { ::std::ptr::addr_of!((*ptr).fp_offset) as usize - ptr as usize },
3739        4usize,
3740        concat!(
3741            "Offset of field: ",
3742            stringify!(__va_list_tag),
3743            "::",
3744            stringify!(fp_offset)
3745        )
3746    );
3747    assert_eq!(
3748        unsafe { ::std::ptr::addr_of!((*ptr).overflow_arg_area) as usize - ptr as usize },
3749        8usize,
3750        concat!(
3751            "Offset of field: ",
3752            stringify!(__va_list_tag),
3753            "::",
3754            stringify!(overflow_arg_area)
3755        )
3756    );
3757    assert_eq!(
3758        unsafe { ::std::ptr::addr_of!((*ptr).reg_save_area) as usize - ptr as usize },
3759        16usize,
3760        concat!(
3761            "Offset of field: ",
3762            stringify!(__va_list_tag),
3763            "::",
3764            stringify!(reg_save_area)
3765        )
3766    );
3767}
3768#[doc = " 13 = __LC_LAST."]
3769#[repr(C)]
3770#[derive(Debug)]
3771pub struct __locale_data {
3772    pub _address: u8,
3773}