2 * Copyright (c) 2016 Samsung Electronics Co., Ltd. All rights reserved.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 #include <sys/types.h>
36 int _is_queue_empty(int pos);
37 int _push_queue(uid_t target_uid, uid_t caller_uid, const char *req_id,
38 int req_type, const char *queue_type, const char *pkgid,
40 struct backend_job *_pop_queue(int pos);
41 void _free_backend_job(struct backend_job *job);
42 int _init_backend_queue(void);
43 void _fini_backend_queue(void);