Home | History | Annotate | Download | only in compat
      1 /*
      2  *
      3  *  BlueZ - Bluetooth protocol stack for Linux
      4  *
      5  *  Copyright (C) 2003-2010  Marcel Holtmann <marcel (at) holtmann.org>
      6  *
      7  *
      8  *  This program is free software; you can redistribute it and/or modify
      9  *  it under the terms of the GNU General Public License as published by
     10  *  the Free Software Foundation; either version 2 of the License, or
     11  *  (at your option) any later version.
     12  *
     13  *  This program is distributed in the hope that it will be useful,
     14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
     15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     16  *  GNU General Public License for more details.
     17  *
     18  *  You should have received a copy of the GNU General Public License
     19  *  along with this program; if not, write to the Free Software
     20  *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     21  *
     22  */
     23 
     24 #define LANACCESS	0
     25 #define MROUTER		1
     26 #define ACTIVESYNC	2
     27 #define DIALUP		3
     28 
     29 int get_stored_device_info(const bdaddr_t *src, const bdaddr_t *dst, struct hidp_connadd_req *req);
     30 int get_sdp_device_info(const bdaddr_t *src, const bdaddr_t *dst, struct hidp_connadd_req *req);
     31 int get_alternate_device_info(const bdaddr_t *src, const bdaddr_t *dst, uint16_t *uuid, uint8_t *channel, char *name, size_t len);
     32 
     33 int bnep_sdp_search(bdaddr_t *src, bdaddr_t *dst, uint16_t service);
     34 int bnep_sdp_register(bdaddr_t *device, uint16_t role);
     35 void bnep_sdp_unregister(void);
     36 
     37 int dun_sdp_search(bdaddr_t *src, bdaddr_t *dst, int *channel, int type);
     38 int dun_sdp_register(bdaddr_t *device, uint8_t channel, int type);
     39 void dun_sdp_unregister(void);
     40