Changeset 225
- Timestamp:
- 08/08/08 22:06:46 (20 months ago)
- Location:
- trunk
- Files:
-
- 3 modified
-
configure.in (modified) (2 diffs)
-
obexftp/client.c (modified) (1 diff)
-
obexftp/client.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure.in
r222 r225 1 1 ## Process this file with autoconf to produce a configure script. 2 2 # try CFLAGS="$CFLAGS -g -Wall -Wmissing-declarations -Wmissing-prototypes -Werror" 3 AC_INIT(ObexFTP, 0.2 2, zany@triq.net)3 AC_INIT(ObexFTP, 0.23, zany@triq.net) 4 4 #AC_CONFIG_SRCDIR(src/foo.c) 5 5 AM_INIT_AUTOMAKE(dist-bzip2) … … 133 133 # Project-specific settings 134 134 # VERSION="..." already set my AM_INIT_AUTOMAKE above 135 # libtool uses current:re lease:age to produce .c-a.a.r135 # libtool uses current:revision:age to produce .c-a.a.r 136 136 # http://www.gnu.org/software/libtool/manual.html#Updating-version-info 137 OBEXFTP_VERSION=" 2\:0\:2"137 OBEXFTP_VERSION="3\:0\:3" 138 138 MULTICOBEX_VERSION="1\:1\:0" 139 139 BFB_VERSION="0\:5\:0" -
trunk/obexftp/client.c
r224 r225 565 565 566 566 567 int obexftp_connect_service(obexftp_client_t *cli, const char *src, const char *device, int port, int service) 568 { 569 uint8_t *uuid = NULL; 570 uint32_t uuid_len = 0; 571 if (service == OBEX_FTP_SERVICE) { 572 uuid = UUID_FBS; 573 uuid_len = sizeof(UUID_FBS); 574 } 575 if (service == OBEX_SYNC_SERVICE) { 576 uuid = UUID_IRMC; 577 uuid_len = sizeof(UUID_IRMC); 578 } 579 // otherwiese default to OBEX_PUSH_SERVICE 580 return obexftp_connect_src(cli, src, device, port, uuid, uuid_len); 581 } 582 583 584 567 585 /** 568 586 Connect this ObexFTP client using a given source address by sending an OBEX CONNECT request. -
trunk/obexftp/client.h
r194 r225 128 128 int port, /* INET(?), BLUETOOTH, USB*/ 129 129 /*@null@*/ const uint8_t uuid[], uint32_t uuid_len); 130 int obexftp_connect_service(obexftp_client_t *cli, 131 /*@null@*/ const char *src, /* HCI no. or address */ 132 /*@null@*/ const char *device, /* for INET, BLUETOOTH */ 133 int port, /* INET(?), BLUETOOTH, USB*/ 134 int service); 130 135 131 136 //int obexftp_connect_service(obexftp_client_t *cli,
