File: btsdp.h

package info (click to toggle)
pybluez 0.18-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 520 kB
  • sloc: ansic: 4,226; python: 2,175; cpp: 1,861; makefile: 48
file content (18 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __pybluez_sdp_h__
#define __pybluez_sdp_h__

#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>

typedef struct {
    PyObject_HEAD
    sdp_session_t *session;

	PyObject *(*errorhandler)(void); /* Error handler; checks
					    errno, returns NULL and
					    sets a Python exception */
} PySDPSessionObject;

extern PyTypeObject sdp_session_type;

#endif