| 1 | /* header auto-generated by pidl */
|
|---|
| 2 |
|
|---|
| 3 | #ifndef _PIDL_HEADER_atsvc
|
|---|
| 4 | #define _PIDL_HEADER_atsvc
|
|---|
| 5 |
|
|---|
| 6 | #include <stdint.h>
|
|---|
| 7 |
|
|---|
| 8 | #include "libcli/util/ntstatus.h"
|
|---|
| 9 |
|
|---|
| 10 | #ifndef _HEADER_atsvc
|
|---|
| 11 | #define _HEADER_atsvc
|
|---|
| 12 |
|
|---|
| 13 | /* bitmap atsvc_DaysOfMonth */
|
|---|
| 14 | #define First ( 0x00000001 )
|
|---|
| 15 | #define Second ( 0x00000002 )
|
|---|
| 16 | #define Third ( 0x00000004 )
|
|---|
| 17 | #define Fourth ( 0x00000008 )
|
|---|
| 18 | #define Fifth ( 0x00000010 )
|
|---|
| 19 | #define Sixth ( 0x00000020 )
|
|---|
| 20 | #define Seventh ( 0x00000040 )
|
|---|
| 21 | #define Eight ( 0x00000080 )
|
|---|
| 22 | #define Ninth ( 0x00000100 )
|
|---|
| 23 | #define Tenth ( 0x00000200 )
|
|---|
| 24 | #define Eleventh ( 0x00000400 )
|
|---|
| 25 | #define Twelfth ( 0x00000800 )
|
|---|
| 26 | #define Thitteenth ( 0x00001000 )
|
|---|
| 27 | #define Fourteenth ( 0x00002000 )
|
|---|
| 28 | #define Fifteenth ( 0x00004000 )
|
|---|
| 29 | #define Sixteenth ( 0x00008000 )
|
|---|
| 30 | #define Seventeenth ( 0x00010000 )
|
|---|
| 31 | #define Eighteenth ( 0x00020000 )
|
|---|
| 32 | #define Ninteenth ( 0x00040000 )
|
|---|
| 33 | #define Twentyth ( 0x00080000 )
|
|---|
| 34 | #define Twentyfirst ( 0x00100000 )
|
|---|
| 35 | #define Twentysecond ( 0x00200000 )
|
|---|
| 36 | #define Twentythird ( 0x00400000 )
|
|---|
| 37 | #define Twentyfourth ( 0x00800000 )
|
|---|
| 38 | #define Twentyfifth ( 0x01000000 )
|
|---|
| 39 | #define Twentysixth ( 0x02000000 )
|
|---|
| 40 | #define Twentyseventh ( 0x04000000 )
|
|---|
| 41 | #define Twentyeighth ( 0x08000000 )
|
|---|
| 42 | #define Twentyninth ( 0x10000000 )
|
|---|
| 43 | #define Thirtieth ( 0x20000000 )
|
|---|
| 44 | #define Thirtyfirst ( 0x40000000 )
|
|---|
| 45 |
|
|---|
| 46 | /* bitmap atsvc_Flags */
|
|---|
| 47 | #define JOB_RUN_PERIODICALLY ( 0x01 )
|
|---|
| 48 | #define JOB_EXEC_ERROR ( 0x02 )
|
|---|
| 49 | #define JOB_RUNS_TODAY ( 0x04 )
|
|---|
| 50 | #define JOB_ADD_CURRENT_DATE ( 0x08 )
|
|---|
| 51 | #define JOB_NONINTERACTIVE ( 0x10 )
|
|---|
| 52 |
|
|---|
| 53 | /* bitmap atsvc_DaysOfWeek */
|
|---|
| 54 | #define DAYSOFWEEK_MONDAY ( 0x01 )
|
|---|
| 55 | #define DAYSOFWEEK_TUESDAY ( 0x02 )
|
|---|
| 56 | #define DAYSOFWEEK_WEDNESDAY ( 0x04 )
|
|---|
| 57 | #define DAYSOFWEEK_THURSDAY ( 0x08 )
|
|---|
| 58 | #define DAYSOFWEEK_FRIDAY ( 0x10 )
|
|---|
| 59 | #define DAYSOFWEEK_SATURDAY ( 0x20 )
|
|---|
| 60 | #define DAYSOFWEEK_SUNDAY ( 0x40 )
|
|---|
| 61 |
|
|---|
| 62 | struct atsvc_JobInfo {
|
|---|
| 63 | uint32_t job_time;
|
|---|
| 64 | uint32_t days_of_month;
|
|---|
| 65 | uint8_t days_of_week;
|
|---|
| 66 | uint8_t flags;
|
|---|
| 67 | const char *command;/* [unique,charset(UTF16)] */
|
|---|
| 68 | };
|
|---|
| 69 |
|
|---|
| 70 | struct atsvc_JobEnumInfo {
|
|---|
| 71 | uint32_t job_id;
|
|---|
| 72 | uint32_t job_time;
|
|---|
| 73 | uint32_t days_of_month;
|
|---|
| 74 | uint8_t days_of_week;
|
|---|
| 75 | uint8_t flags;
|
|---|
| 76 | const char *command;/* [unique,charset(UTF16)] */
|
|---|
| 77 | };
|
|---|
| 78 |
|
|---|
| 79 | struct atsvc_enum_ctr {
|
|---|
| 80 | uint32_t entries_read;
|
|---|
| 81 | struct atsvc_JobEnumInfo *first_entry;/* [unique,size_is(entries_read)] */
|
|---|
| 82 | };
|
|---|
| 83 |
|
|---|
| 84 |
|
|---|
| 85 | struct atsvc_JobAdd {
|
|---|
| 86 | struct {
|
|---|
| 87 | const char *servername;/* [unique,charset(UTF16)] */
|
|---|
| 88 | struct atsvc_JobInfo *job_info;/* [ref] */
|
|---|
| 89 | } in;
|
|---|
| 90 |
|
|---|
| 91 | struct {
|
|---|
| 92 | uint32_t *job_id;/* [ref] */
|
|---|
| 93 | NTSTATUS result;
|
|---|
| 94 | } out;
|
|---|
| 95 |
|
|---|
| 96 | };
|
|---|
| 97 |
|
|---|
| 98 |
|
|---|
| 99 | struct atsvc_JobDel {
|
|---|
| 100 | struct {
|
|---|
| 101 | const char *servername;/* [unique,charset(UTF16)] */
|
|---|
| 102 | uint32_t min_job_id;
|
|---|
| 103 | uint32_t max_job_id;
|
|---|
| 104 | } in;
|
|---|
| 105 |
|
|---|
| 106 | struct {
|
|---|
| 107 | NTSTATUS result;
|
|---|
| 108 | } out;
|
|---|
| 109 |
|
|---|
| 110 | };
|
|---|
| 111 |
|
|---|
| 112 |
|
|---|
| 113 | struct atsvc_JobEnum {
|
|---|
| 114 | struct {
|
|---|
| 115 | const char *servername;/* [unique,charset(UTF16)] */
|
|---|
| 116 | uint32_t preferred_max_len;
|
|---|
| 117 | struct atsvc_enum_ctr *ctr;/* [ref] */
|
|---|
| 118 | uint32_t *resume_handle;/* [unique] */
|
|---|
| 119 | } in;
|
|---|
| 120 |
|
|---|
| 121 | struct {
|
|---|
| 122 | uint32_t *total_entries;/* [ref] */
|
|---|
| 123 | struct atsvc_enum_ctr *ctr;/* [ref] */
|
|---|
| 124 | uint32_t *resume_handle;/* [unique] */
|
|---|
| 125 | NTSTATUS result;
|
|---|
| 126 | } out;
|
|---|
| 127 |
|
|---|
| 128 | };
|
|---|
| 129 |
|
|---|
| 130 |
|
|---|
| 131 | struct atsvc_JobGetInfo {
|
|---|
| 132 | struct {
|
|---|
| 133 | const char *servername;/* [unique,charset(UTF16)] */
|
|---|
| 134 | uint32_t job_id;
|
|---|
| 135 | } in;
|
|---|
| 136 |
|
|---|
| 137 | struct {
|
|---|
| 138 | struct atsvc_JobInfo **job_info;/* [ref] */
|
|---|
| 139 | NTSTATUS result;
|
|---|
| 140 | } out;
|
|---|
| 141 |
|
|---|
| 142 | };
|
|---|
| 143 |
|
|---|
| 144 | #endif /* _HEADER_atsvc */
|
|---|
| 145 | #endif /* _PIDL_HEADER_atsvc */
|
|---|