Build Subversion 1.4.6 + Perl + OpenSSL 1.0
[msysgit.git] / include / lmat.h
blob4d2cf8c11e1cc26b77c576243bd15b69e42accdc
1 #ifndef _LMAT_H
2 #define _LMAT_H
3 #ifdef __cplusplus
4 extern "C" {
5 #endif
6 #define JOB_RUN_PERIODICALLY 1
7 #define JOB_EXEC_ERROR 2
8 #define JOB_RUNS_TODAY 4
9 #define JOB_ADD_CURRENT_DATE 8
10 #define JOB_NONINTERACTIVE 16
11 #define JOB_INPUT_FLAGS (JOB_RUN_PERIODICALLY|JOB_ADD_CURRENT_DATE|JOB_NONINTERACTIVE)
12 #define JOB_OUTPUT_FLAGS (JOB_RUN_PERIODICALLY|JOB_EXEC_ERROR|JOB_RUNS_TODAY|JOB_NONINTERACTIVE)
13 typedef struct _AT_ENUM {
14 DWORD JobId;
15 DWORD JobTime;
16 DWORD DaysOfMonth;
17 UCHAR DaysOfWeek;
18 UCHAR Flags;
19 LPWSTR Command;
20 } AT_ENUM,*PAT_ENUM,*LPAT_ENUM;
21 typedef struct _AT_INFO {
22 DWORD JobTime;
23 DWORD DaysOfMonth;
24 UCHAR DaysOfWeek;
25 UCHAR Flags;
26 LPWSTR Command;
27 } AT_INFO,*PAT_INFO,*LPAT_INFO;
28 NET_API_STATUS WINAPI NetScheduleJobAdd(LPWSTR,PBYTE,LPDWORD);
29 NET_API_STATUS WINAPI NetScheduleJobDel(LPWSTR,DWORD,DWORD);
30 NET_API_STATUS WINAPI NetScheduleJobEnum(LPWSTR,PBYTE*,DWORD,PDWORD,PDWORD,PDWORD);
31 NET_API_STATUS WINAPI NetScheduleJobGetInfo(LPWSTR,DWORD,PBYTE*);
32 #ifdef __cplusplus
34 #endif
35 #endif