summaryrefslogtreecommitdiffabout
path: root/src/eyefi.h
authorMichael Krelin <hacker@klever.net>2009-03-08 20:09:21 (UTC)
committer Michael Krelin <hacker@klever.net>2009-03-08 20:09:21 (UTC)
commitaadaa8b5d7eda23e72dbded9d6437b40358353f3 (patch) (unidiff)
tree0bff6fdde1e2b9be02b48aaf7d03f095604718e1 /src/eyefi.h
downloadiii-aadaa8b5d7eda23e72dbded9d6437b40358353f3.zip
iii-aadaa8b5d7eda23e72dbded9d6437b40358353f3.tar.gz
iii-aadaa8b5d7eda23e72dbded9d6437b40358353f3.tar.bz2
Inital commit to public repository0.0
Diffstat (limited to 'src/eyefi.h') (more/less context) (ignore whitespace changes)
-rw-r--r--src/eyefi.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/src/eyefi.h b/src/eyefi.h
new file mode 100644
index 0000000..70e918d
--- a/dev/null
+++ b/src/eyefi.h
@@ -0,0 +1,47 @@
1 //gsoap efs service name: eyefi
2 //gsoap efs service location: http://api.eye.fi/api/soap/eyefilm/v1
3 //gsoap efs service namespace: EyeFi/SOAP/EyeFilm
4 //gsoap efs service method-action:StartSession "urn:StartSession"
5 //gsoap efs service method-action:GetPhotoStatus "urn:GetPhotoStatus"
6 //gsoap efs service method-action:MarkLastPhotoInRoll "urn:MarkLastPhotoInRoll"
7 //gsoap rns service namespace: http://localhost/api/soap/eyefilm
8
9struct rns__StartSessionResponse {
10 std::string credential;
11 std::string snonce;
12 int transfermode;
13 unsigned int transfermodetimestamp;
14 bool upsyncallowed;
15};
16
17int efs__StartSession(
18 std::string macaddress,std::string cnonce,
19 int transfermode,long transfermodetimestamp,
20 struct rns__StartSessionResponse &r );
21
22struct rns__GetPhotoStatusResponse {
23 int fileid;
24 long offset;
25};
26
27int efs__GetPhotoStatus(
28 std::string credential, std::string macaddress,
29 std::string filename, long filesize, std::string filesignature,
30 struct rns__GetPhotoStatusResponse &r );
31
32struct rns__MarkLastPhotoInRollResponse {
33};
34
35int efs__MarkLastPhotoInRoll(
36 std::string macaddress, int mergedelta,
37 struct rns__MarkLastPhotoInRollResponse &r );
38
39struct rns__UploadPhotoResponse {
40 bool success;
41};
42
43int efs__UploadPhoto(
44 int fileid, std::string macaddress,
45 std::string filename, long filesize, std::string filesignature,
46 std::string encryption, int flags,
47 struct rns__UploadPhotoResponse& r );