-rw-r--r-- | src/eyefi.h | 2 |
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,29 +1,29 @@ | |||
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 | ||
9 | struct rns__StartSessionResponse { | 9 | struct 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 | ||
17 | int efs__StartSession( | 17 | int 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 | ||
22 | struct rns__GetPhotoStatusResponse { | 22 | struct rns__GetPhotoStatusResponse { |
23 | int fileid; | 23 | int fileid; |
24 | long offset; | 24 | long offset; |
25 | }; | 25 | }; |
26 | 26 | ||
27 | int efs__GetPhotoStatus( | 27 | int 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, |