144b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross/*
244b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross * Copyright (C) 2010 The Android Open Source Project
344b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross *
444b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross * Licensed under the Apache License, Version 2.0 (the "License");
544b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross * you may not use this file except in compliance with the License.
644b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross * You may obtain a copy of the License at
744b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross *
844b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross *      http://www.apache.org/licenses/LICENSE-2.0
944b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross *
1044b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross * Unless required by applicable law or agreed to in writing, software
1144b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross * distributed under the License is distributed on an "AS IS" BASIS,
1244b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1344b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross * See the License for the specific language governing permissions and
1444b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross * limitations under the License.
1544b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross */
1644b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross
1744b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross#ifndef _INIT_UEVENTD_PARSER_H_
1844b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross#define _INIT_UEVENTD_PARSER_H_
1944b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross
20bc57d4ce925a62f14c28c55e0ff28af1114f12beBrian Swetland#define UEVENTD_PARSER_MAXARGS 5
2144b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross
2244b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Crossint ueventd_parse_config_file(const char *fn);
2344b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Crossvoid set_device_permission(int nargs, char **args);
2444b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross
2544b65d047cc39baf30e21bfd8dd438f6bc1f77f5Colin Cross#endif
26