diff options
author | Tim Potter <tpot@samba.org> | 2003-11-20 03:27:56 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2003-11-20 03:27:56 +0000 |
commit | 8f0f97b078f45abbd001a1fa893455bd27d072cd (patch) | |
tree | 106e850d702f527d21db22505b17b02189d41494 /source4/librpc/idl | |
parent | 52cae6b9088cae3c2daa8d195dcaba0c481a87d3 (diff) | |
download | samba-8f0f97b078f45abbd001a1fa893455bd27d072cd.tar.gz samba-8f0f97b078f45abbd001a1fa893455bd27d072cd.tar.bz2 samba-8f0f97b078f45abbd001a1fa893455bd27d072cd.zip |
Added ATSVC pipe.
(This used to be commit 274058486766f7a1094918702e7bc225aa938b2e)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r-- | source4/librpc/idl/atsvc.idl | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/source4/librpc/idl/atsvc.idl b/source4/librpc/idl/atsvc.idl new file mode 100644 index 0000000000..81394c747b --- /dev/null +++ b/source4/librpc/idl/atsvc.idl @@ -0,0 +1,65 @@ +/* + atsvc interface definition +*/ + +[ uuid(1ff70682-0a51-30e8-076d-740be8cee98b), + version(1.0), + pointer_default(unique) +] interface atsvc +{ + typedef struct { + uint32 job_time; + uint32 days_of_month; + uint8 days_of_week; + uint8 flags; + unistr *command; + } atsvc_JobInfo; + + /******************/ + /* Function: 0x00 */ + NTSTATUS atsvc_JobAdd( + [in] unistr *servername, + [in,ref] atsvc_JobInfo *job_info, + [out] uint32 job_id + ); + + /******************/ + /* Function: 0x01 */ + NTSTATUS atsvc_JobDel( + [in] unistr *servername, + [in] uint32 min_job_id, + [in] uint32 max_job_id + ); + + typedef struct { + uint32 job_id; + uint32 job_time; + uint32 days_of_month; + uint8 days_of_week; + uint8 flags; + unistr *command; + } atsvc_JobEnumInfo; + + typedef struct { + uint32 entries_read; + [size_is(entries_read)] atsvc_JobEnumInfo *first_entry; + } atsvc_enum_ctr; + + /******************/ + /* Function: 0x02 */ + NTSTATUS atsvc_JobEnum( + [in] unistr *servername, + [in,out,ref] atsvc_enum_ctr *ctr, + [in] uint32 preferred_max_len, + [out] uint32 total_entries, + [in,out] uint32 *resume_handle + ); + + /******************/ + /* Function: 0x03 */ + NTSTATUS atsvc_JobGetInfo( + [in] unistr *servername, + [in] uint32 job_id, + [out] atsvc_JobInfo *job_info + ); +} |