Files
twrp_multirom_m86/legacy_property_service.h
Matt Mower cdd3b339fc Add basic error checking to legacy property init
Let init and rename funcitons return success or failure values.

Change-Id: Ieed86cac8a0dcfd770a89dacc57fd306e7a6ad8d
2014-03-27 16:12:40 -05:00

26 lines
815 B
C

/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef _LEGACY_PROPERTY_H
#define _LEGACY_PROPERTY_H
#include <stdbool.h>
void legacy_get_property_workspace(int *fd, int *sz);
int legacy_properties_init();
#endif /* _LEGACY_PROPERTY_H */