summaryrefslogtreecommitdiffabout
path: root/src/eyefi.h
authorMichael Krelin <hacker@klever.net>2011-03-17 22:03:33 (UTC)
committer Michael Krelin <hacker@klever.net>2011-03-17 22:03:33 (UTC)
commit59aa03f15cdc33a93ad604392747a36634996aab (patch) (side-by-side diff)
tree22f54ba0f311c6b7d00a075b98fe5afc599c70a0 /src/eyefi.h
parent1ba4673eb47af80bc089963524308e940c78070d (diff)
downloadiii-59aa03f15cdc33a93ad604392747a36634996aab.zip
iii-59aa03f15cdc33a93ad604392747a36634996aab.tar.gz
iii-59aa03f15cdc33a93ad604392747a36634996aab.tar.bz2
added "flags" parameter for GetPhotoStatus request
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'src/eyefi.h') (more/less context) (ignore whitespace changes)
-rw-r--r--src/eyefi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/eyefi.h b/src/eyefi.h
index 70e918d..84a5ebd 100644
--- a/src/eyefi.h
+++ b/src/eyefi.h
@@ -1,47 +1,48 @@
//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,
+ int flags,
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 );