• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2012-2019 NXP
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 PHDAL4UWB_MESSAGEQUEUE_H
18 #define PHDAL4UWB_MESSAGEQUEUE_H
19 
20 #include <linux/ipc.h>
21 #include <phUwbTypes.h>
22 
23 intptr_t phDal4Uwb_msgget(key_t key, int msgflg);
24 void phDal4Uwb_msgrelease(intptr_t msqid);
25 int phDal4Uwb_msgctl(intptr_t msqid, int cmd, void* buf);
26 intptr_t phDal4Uwb_msgsnd(intptr_t msqid, phLibUwb_Message_t* msg, int msgflg);
27 int phDal4Uwb_msgrcv(intptr_t msqid, phLibUwb_Message_t* msg, long msgtyp,
28                      int msgflg);
29 
30 #endif /*  PHDAL4UWB_MESSAGEQUEUE_H  */
31