summaryrefslogtreecommitdiffabout
path: root/src/eyefi.h
authorMichael Krelin <hacker@klever.net>2012-01-20 20:45:42 (UTC)
committer Michael Krelin <hacker@klever.net>2012-01-20 20:45:42 (UTC)
commit6258fb1baaaa46a828fd6753b9401880b9b63aec (patch) (side-by-side diff)
tree5823316e2d680cbbeeb7e2e83f8fa6b897b56e57 /src/eyefi.h
parentad7811fbcf54d0aebcd35c20d4a211d11029d1a2 (diff)
downloadiii-6258fb1baaaa46a828fd6753b9401880b9b63aec.zip
iii-6258fb1baaaa46a828fd6753b9401880b9b63aec.tar.gz
iii-6258fb1baaaa46a828fd6753b9401880b9b63aec.tar.bz2
use the same timestamp type for input and output
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'src/eyefi.h') (more/less context) (show whitespace changes)
-rw-r--r--src/eyefi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eyefi.h b/src/eyefi.h
index 84a5ebd..eb60cc1 100644
--- a/src/eyefi.h
+++ b/src/eyefi.h
@@ -1,48 +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;
+ long 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 );