Ot ten Thije | ae835ac | 2010-10-18 13:37:37 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2010 The Android Open Source Project |
| 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. |
| 6 | * You may obtain a copy of the License at |
| 7 | * |
| 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | * |
| 10 | * Unless required by applicable law or agreed to in writing, software |
| 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | * See the License for the specific language governing permissions and |
| 14 | * limitations under the License. |
| 15 | */ |
| 16 | |
David 'Digit' Turner | e5af8a2 | 2011-02-24 16:48:19 +0100 | [diff] [blame] | 17 | #ifndef ANDROID_SNAPSHOT_H |
| 18 | #define ANDROID_SNAPSHOT_H |
Ot ten Thije | ae835ac | 2010-10-18 13:37:37 +0100 | [diff] [blame] | 19 | |
| 20 | #include "config/config.h" |
| 21 | |
Ot ten Thije | ae835ac | 2010-10-18 13:37:37 +0100 | [diff] [blame] | 22 | /* Prints a table with information on the snapshot stored in the file |
| 23 | * 'snapstorage', then exit()s. |
| 24 | */ |
| 25 | void snapshot_print_and_exit( const char *snapstorage ); |
| 26 | |
Tim Baverstock | 622b8f4 | 2010-12-07 11:36:59 +0000 | [diff] [blame] | 27 | |
| 28 | extern int android_snapshot_update_time; |
| 29 | extern int android_snapshot_update_time_request; |
| 30 | |
David 'Digit' Turner | e5af8a2 | 2011-02-24 16:48:19 +0100 | [diff] [blame] | 31 | #endif /* ANDROID_SNAPSHOT_H */ |