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) (side-by-side diff)
tree0bff6fdde1e2b9be02b48aaf7d03f095604718e1 /src/eyefi.h
downloadiii-0.0.zip
iii-0.0.tar.gz
iii-0.0.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 @@
+//gsoap efs service name: eyefi
+//gsoap efs service location: http://api.eye.fi/api/soap/eyefilm/v1
+//gsoap efs service namespace: EyeFi/SOAP/EyeFilm
+//gsoap efs service method-action: StartSession "urn:StartSession"
+//gsoap efs service method-action: GetPhotoStatus "urn:GetPhotoStatus"
+//gsoap efs service method-action: MarkLastPhotoInRoll "urn:MarkLastPhotoInRoll"
+//gsoap rns service namespace: http://localhost/api/soap/eyefilm
+
+struct rns__StartSessionResponse {
+ std::string credential;
+ std::string snonce;
+ int transfermode;
+ unsigned int transfermodetimestamp;
+ bool upsyncallowed;
+};
+
+int efs__StartSession(
+ std::string macaddress,std::string cnonce,
+ int transfermode,long transfermodetimestamp,
+ struct rns__StartSessionResponse &r );
+
+struct rns__GetPhotoStatusResponse {
+ int fileid;
+ long offset;
+};
+
+int efs__GetPhotoStatus(
+ std::string credential, std::string macaddress,
+ std::string filename, long filesize, std::string filesignature,
+ struct rns__GetPhotoStatusResponse &r );
+
+struct rns__MarkLastPhotoInRollResponse {
+};
+
+int efs__MarkLastPhotoInRoll(
+ std::string macaddress, int mergedelta,
+ struct rns__MarkLastPhotoInRollResponse &r );
+
+struct rns__UploadPhotoResponse {
+ bool success;
+};
+
+int efs__UploadPhoto(
+ int fileid, std::string macaddress,
+ std::string filename, long filesize, std::string filesignature,
+ std::string encryption, int flags,
+ struct rns__UploadPhotoResponse& r );