- Timestamp:
- 09/13/07 18:51:51 (14 months ago)
- Files:
-
- 1 modified
-
trunk/swig/client.i (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/swig/client.i
r184 r196 111 111 } 112 112 113 int connect(char *device, int port ) {114 return obexftp_connect_ uuid(self, device, port, UUID_FBS, sizeof(UUID_FBS));113 int connect(char *device, int port, char *src=NULL) { 114 return obexftp_connect_src(self, src, device, port, UUID_FBS, sizeof(UUID_FBS)); 115 115 } 116 int connectpush(char *device, int port ) {116 int connectpush(char *device, int port, char *src=NULL) { 117 117 self->quirks &= ~OBEXFTP_SPLIT_SETPATH; 118 return obexftp_connect_ uuid(self, device, port, NULL, 0);118 return obexftp_connect_src(self, src, device, port, NULL, 0); 119 119 } 120 int connectsync(char *device, int port ) {120 int connectsync(char *device, int port, char *src=NULL) { 121 121 self->quirks &= ~OBEXFTP_SPLIT_SETPATH; 122 return obexftp_connect_ uuid(self, device, port, UUID_IRMC, sizeof(UUID_IRMC));122 return obexftp_connect_src(self, src, device, port, UUID_IRMC, sizeof(UUID_IRMC)); 123 123 } 124 124 int disconnect() {
