summaryrefslogtreecommitdiffabout
path: root/src/eyefi.h
Unidiff
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 @@
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 unsigned int 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 struct rns__GetPhotoStatusResponse &r ); 31 struct rns__GetPhotoStatusResponse &r );
31 32
32struct rns__MarkLastPhotoInRollResponse { 33struct rns__MarkLastPhotoInRollResponse {
33}; 34};
34 35
35int efs__MarkLastPhotoInRoll( 36int efs__MarkLastPhotoInRoll(
36 std::string macaddress, int mergedelta, 37 std::string macaddress, int mergedelta,
37 struct rns__MarkLastPhotoInRollResponse &r ); 38 struct rns__MarkLastPhotoInRollResponse &r );
38 39
39struct rns__UploadPhotoResponse { 40struct rns__UploadPhotoResponse {
40 bool success; 41 bool success;
41}; 42};
42 43
43int efs__UploadPhoto( 44int efs__UploadPhoto(
44 int fileid, std::string macaddress, 45 int fileid, std::string macaddress,
45 std::string filename, long filesize, std::string filesignature, 46 std::string filename, long filesize, std::string filesignature,
46 std::string encryption, int flags, 47 std::string encryption, int flags,
47 struct rns__UploadPhotoResponse& r ); 48 struct rns__UploadPhotoResponse& r );