summaryrefslogtreecommitdiffabout
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) (unidiff)
tree5823316e2d680cbbeeb7e2e83f8fa6b897b56e57
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 (more/less context) (ignore 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 @@
1 //gsoap efs service name: eyefi 1 //gsoap efs service name: eyefi
2 //gsoap efs service location: http://api.eye.fi/api/soap/eyefilm/v1 2 //gsoap efs service location: http://api.eye.fi/api/soap/eyefilm/v1
3 //gsoap efs service namespace: EyeFi/SOAP/EyeFilm 3 //gsoap efs service namespace: EyeFi/SOAP/EyeFilm
4 //gsoap efs service method-action:StartSession "urn:StartSession" 4 //gsoap efs service method-action:StartSession "urn:StartSession"
5 //gsoap efs service method-action:GetPhotoStatus "urn:GetPhotoStatus" 5 //gsoap efs service method-action:GetPhotoStatus "urn:GetPhotoStatus"
6 //gsoap efs service method-action:MarkLastPhotoInRoll "urn:MarkLastPhotoInRoll" 6 //gsoap efs service method-action:MarkLastPhotoInRoll "urn:MarkLastPhotoInRoll"
7 //gsoap rns service namespace: http://localhost/api/soap/eyefilm 7 //gsoap rns service namespace: http://localhost/api/soap/eyefilm
8 8
9struct rns__StartSessionResponse { 9struct rns__StartSessionResponse {
10 std::string credential; 10 std::string credential;
11 std::string snonce; 11 std::string snonce;
12 int transfermode; 12 int transfermode;
13 unsigned int transfermodetimestamp; 13 long transfermodetimestamp;
14 bool upsyncallowed; 14 bool upsyncallowed;
15}; 15};
16 16
17int efs__StartSession( 17int efs__StartSession(
18 std::string macaddress,std::string cnonce, 18 std::string macaddress,std::string cnonce,
19 int transfermode,long transfermodetimestamp, 19 int transfermode,long transfermodetimestamp,
20 struct rns__StartSessionResponse &r ); 20 struct rns__StartSessionResponse &r );
21 21
22struct rns__GetPhotoStatusResponse { 22struct rns__GetPhotoStatusResponse {
23 int fileid; 23 int fileid;
24 long offset; 24 long offset;
25}; 25};
26 26
27int efs__GetPhotoStatus( 27int efs__GetPhotoStatus(
28 std::string credential, std::string macaddress, 28 std::string credential, std::string macaddress,
29 std::string filename, long filesize, std::string filesignature, 29 std::string filename, long filesize, std::string filesignature,
30 int flags, 30 int flags,
31 struct rns__GetPhotoStatusResponse &r ); 31 struct rns__GetPhotoStatusResponse &r );
32 32
33struct rns__MarkLastPhotoInRollResponse { 33struct rns__MarkLastPhotoInRollResponse {
34}; 34};
35 35
36int efs__MarkLastPhotoInRoll( 36int efs__MarkLastPhotoInRoll(
37 std::string macaddress, int mergedelta, 37 std::string macaddress, int mergedelta,
38 struct rns__MarkLastPhotoInRollResponse &r ); 38 struct rns__MarkLastPhotoInRollResponse &r );
39 39
40struct rns__UploadPhotoResponse { 40struct rns__UploadPhotoResponse {
41 bool success; 41 bool success;
42}; 42};
43 43
44int efs__UploadPhoto( 44int efs__UploadPhoto(
45 int fileid, std::string macaddress, 45 int fileid, std::string macaddress,
46 std::string filename, long filesize, std::string filesignature, 46 std::string filename, long filesize, std::string filesignature,
47 std::string encryption, int flags, 47 std::string encryption, int flags,
48 struct rns__UploadPhotoResponse& r ); 48 struct rns__UploadPhotoResponse& r );