10485dae0Sopenharmony_ci/*
20485dae0Sopenharmony_ci * Copyright (c) 2021 Huawei Device Co., Ltd.
30485dae0Sopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
40485dae0Sopenharmony_ci * you may not use this file except in compliance with the License.
50485dae0Sopenharmony_ci * You may obtain a copy of the License at
60485dae0Sopenharmony_ci *
70485dae0Sopenharmony_ci *     http://www.apache.org/licenses/LICENSE-2.0
80485dae0Sopenharmony_ci *
90485dae0Sopenharmony_ci * Unless required by applicable law or agreed to in writing, software
100485dae0Sopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
110485dae0Sopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
120485dae0Sopenharmony_ci * See the License for the specific language governing permissions and
130485dae0Sopenharmony_ci * limitations under the License.
140485dae0Sopenharmony_ci */
150485dae0Sopenharmony_ci
160485dae0Sopenharmony_ci#include <sys/types.h>
170485dae0Sopenharmony_ci
180485dae0Sopenharmony_ci#ifndef CONSTANTS_H
190485dae0Sopenharmony_ci#define CONSTANTS_H
200485dae0Sopenharmony_ci
210485dae0Sopenharmony_ciconst int IPC_OBJECT_COUNTS = 5;
220485dae0Sopenharmony_ci
230485dae0Sopenharmony_ciconst int EXT_MSG_LEN_DEFAULT = 0;
240485dae0Sopenharmony_ciconst int STARTING_OPERATE_ID = 0;
250485dae0Sopenharmony_ciconst int STARTING_REQ_ID = 0;
260485dae0Sopenharmony_ci
270485dae0Sopenharmony_ciconst int INVALID_CLIENT_ID = -1;
280485dae0Sopenharmony_ciconst int INVALID_SESSION_ID = -1;
290485dae0Sopenharmony_ciconst int INVALID_REQUEST_ID = -1;
300485dae0Sopenharmony_ciconst uid_t INVALID_UID = 0;
310485dae0Sopenharmony_ci
320485dae0Sopenharmony_ci#endif // CONSTANTS_H
33