blob: c0d5965e8fcfd89cecd58217089bdcdbf44f0720 [file] [log] [blame]
Ot ten Thijeae835ac2010-10-18 13:37:37 +01001/*
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
17#ifndef SNAPSHOTS_H_
18#define SNAPSHOTS_H_
19
20#include "config/config.h"
21
22#if CONFIG_ANDROID_SNAPSHOTS
23
24/* Prints a table with information on the snapshot stored in the file
25 * 'snapstorage', then exit()s.
26 */
27void snapshot_print_and_exit( const char *snapstorage );
28
Tim Baverstock622b8f42010-12-07 11:36:59 +000029
30extern int android_snapshot_update_time;
31extern int android_snapshot_update_time_request;
32
Ot ten Thijeae835ac2010-10-18 13:37:37 +010033#endif
34
35#endif /* SNAPSHOTS_H_ */