Qore SftpPollerUtil Module Reference 1.4.1
SftpPollerUtil.qm.dox.h
1// -*- mode: c++; indent-tabs-mode: nil -*-
3
4/* SftpPollerUtil.qm Copyright (C) 2014 - 2022 Qore Technologies, s.r.o.
5
6 Permission is hereby granted, free of charge, to any person obtaining a
7 copy of this software and associated documentation files (the "Software"),
8 to deal in the Software without restriction, including without limitation
9 the rights to use, copy, modify, merge, publish, distribute, sublicense,
10 and/or sell copies of the Software, and to permit persons to whom the
11 Software is furnished to do so, subject to the following conditions:
12
13 The above copyright notice and this permission notice shall be included in
14 all copies or substantial portions of the Software.
15
16 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
21 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 DEALINGS IN THE SOFTWARE.
23*/
24
25// make sure we have the required qore version
26
27// requires ssh2 functionality
28
29// assume local vars and do not allow $ chars
30
31
32}
33
54namespace SftpPoller {
56class SftpPollerFileEventInfoDataType : public HashDataType {
57
58public:
60 const FieldDescriptions = ...;
61
62
65
66};
67
69public hashdecl SftpPollerFileEventInfo {
71 string name;
72
74 int size;
75
77 int uid;
78
80 int gid;
81
83 int mode;
84
86 date atime;
87
89 date mtime;
90
92
103 string type;
104
106 string perm;
107
109
114
116 string filepath;
117};
118};
Single file event data description.
Definition: SftpPollerUtil.qm.dox.h:56
const FieldDescriptions
Markdown descriptions for hashdecl members.
Definition: SftpPollerUtil.qm.dox.h:60
main SftpPoller namespace
Definition: SftpPollerUtil.qm.dox.h:54
SftpPoller file event hash.
Definition: SftpPollerUtil.qm.dox.h:69
int mode
the permissions / mode of the file
Definition: SftpPollerUtil.qm.dox.h:83
string perm
a string giving UNIX-style permissions for the file (ex: "-rwxr-xr-x")
Definition: SftpPollerUtil.qm.dox.h:106
int gid
the GID of the owner of the file
Definition: SftpPollerUtil.qm.dox.h:80
date mtime
the last modified date/time of the file
Definition: SftpPollerUtil.qm.dox.h:89
string name
the name of the file, link, or directory
Definition: SftpPollerUtil.qm.dox.h:71
string filepath
the remote filepath relative to SFTP root directory
Definition: SftpPollerUtil.qm.dox.h:116
data data
the file's data
Definition: SftpPollerUtil.qm.dox.h:113
int uid
the UID of the owner of the file
Definition: SftpPollerUtil.qm.dox.h:77
int size
the size of the file in bytes
Definition: SftpPollerUtil.qm.dox.h:74
string type
the type of file
Definition: SftpPollerUtil.qm.dox.h:103
date atime
the last accessed date/time of the file
Definition: SftpPollerUtil.qm.dox.h:86