~ubuntu-branches/ubuntu/karmic/pilot-link/karmic

« back to all changes in this revision

Viewing changes to include/pi-padp.h

  • Committer: Bazaar Package Importer
  • Author(s): Ludovic Rousseau
  • Date: 2007-02-14 23:30:59 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070214233059-znxrekb2mgjr0mgd
Tags: 0.12.2-1
* New upstream release
 - Closes: #410152 "pilot-link: udev rules need updating"
* debian/control: add Build-Depends: libbluetooth2-dev
 - add bluetooth support

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * pi-padp.h
 
2
 * $Id: pi-padp.h,v 1.20 2006/10/17 13:24:07 desrod Exp $
 
3
 *
 
4
 * pi-padp.h: 
3
5
 *
4
6
 * This library is free software; you can redistribute it and/or modify it
5
7
 * under the terms of the GNU Library General Public License as published by
15
17
 * along with this library; if not, write to the Free Software Foundation,
16
18
 * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17
19
 */
 
20
 
18
21
#ifndef _PILOT_PADP_H_
19
22
#define _PILOT_PADP_H_
20
23
 
24
27
 
25
28
#include "pi-socket.h"
26
29
 
27
 
#define PI_PADP_HEADER_LEN  4
28
 
#define PI_PADP_MTU         1024
29
 
 
30
 
#define PI_PADP_OFFSET_TYPE 0
31
 
#define PI_PADP_OFFSET_FLGS 1
32
 
#define PI_PADP_OFFSET_SIZE 2
33
 
 
34
 
#define padData         0x01
35
 
#define padWake         0x101
36
 
#define padAck          0x02
37
 
#define padTickle       0x04
38
 
#define padAbort        0x08    /* PalmOS 2.0 only */
 
30
#define PI_PADP_HEADER_LEN      4
 
31
#define PI_PADP_MTU             1024
 
32
 
 
33
#define PI_PADP_OFFSET_TYPE     0
 
34
#define PI_PADP_OFFSET_FLGS     1
 
35
#define PI_PADP_OFFSET_SIZE     2
 
36
 
 
37
#define padData                 0x01
 
38
#define padWake                 0x101
 
39
#define padAck                  0x02
 
40
#define padTickle               0x04
 
41
#define padAbort                0x08    /* PalmOS 2.0 only */
39
42
 
40
43
#define PADP_FL_FIRST           0x80    /**< Flag indicating that this is the first fragment in a PADP packet */
41
44
#define PADP_FL_LAST            0x40    /**< Flag indicating that this is the last fragment in a PADP packet */