| 1 |
/* |
| 2 |
* mobilesync.h |
| 3 |
* Definitions for the built-in MobileSync client |
| 4 |
* |
| 5 |
* Copyright (c) 2010 Bryan Forbes All Rights Reserved. |
| 6 |
* Copyright (c) 2009 Jonathan Beck All Rights Reserved. |
| 7 |
* |
| 8 |
* This library is free software; you can redistribute it and/or |
| 9 |
* modify it under the terms of the GNU Lesser General Public |
| 10 |
* License as published by the Free Software Foundation; either |
| 11 |
* version 2.1 of the License, or (at your option) any later version. |
| 12 |
* |
| 13 |
* This library 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 GNU |
| 16 |
* Lesser General Public License for more details. |
| 17 |
* |
| 18 |
* You should have received a copy of the GNU Lesser General Public |
| 19 |
* License along with this library; if not, write to the Free Software |
| 20 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 21 |
*/ |
| 22 |
|
| 23 |
#ifndef __MOBILESYNC_H |
| 24 |
#define __MOBILESYNC_H |
| 25 |
|
| 26 |
#include "idevice.h" |
| 27 |
#include "libimobiledevice/mobilesync.h" |
| 28 |
#include "device_link_service.h" |
| 29 |
|
| 30 |
typedef enum { |
| 31 |
MOBILESYNC_SYNC_DIR_DEVICE_TO_COMPUTER, |
| 32 |
MOBILESYNC_SYNC_DIR_COMPUTER_TO_DEVICE |
| 33 |
} mobilesync_sync_direction_t; |
| 34 |
|
| 35 |
struct mobilesync_client_private { |
| 36 |
device_link_service_client_t parent; |
| 37 |
mobilesync_sync_direction_t direction; |
| 38 |
char *data_class; |
| 39 |
}; |
| 40 |
|
| 41 |
#endif |