applauncherd
invokelib.h
Go to the documentation of this file.
1 /***************************************************************************
2 **
3 ** Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 ** Copyright (c) 2012 - 2021 Jolla Ltd.
5 ** Copyright (c) 2021 Open Mobile Platform LLC.
6 ** All rights reserved.
7 ** Contact: Nokia Corporation (directui@nokia.com)
8 **
9 ** This file is part of applauncherd
10 **
11 ** If you have questions regarding the use of this file, please contact
12 ** Nokia at directui@nokia.com.
13 **
14 ** This library is free software; you can redistribute it and/or
15 ** modify it under the terms of the GNU Lesser General Public
16 ** License version 2.1 as published by the Free Software Foundation
17 ** and appearing in the file LICENSE.LGPL included in the packaging
18 ** of this file.
19 **
20 ****************************************************************************/
21 
22 #ifndef INVOKELIB_H
23 #define INVOKELIB_H
24 
25 #include <stdint.h>
26 
27 void invoke_send_msg(int fd, uint32_t msg);
28 bool invoke_recv_msg(int fd, uint32_t *msg);
29 
30 void invoke_send_str(int fd, const char *str);
31 
32 // Existence of the test mode control file is checked
33 // to enable test mode.
34 #define TEST_MODE_CONTROL_FILE "/root/.itm"
35 
36 #endif
void invoke_send_msg(int fd, uint32_t msg)
Definition: invokelib.c:42
bool invoke_recv_msg(int fd, uint32_t *msg)
Definition: invokelib.c:48
void invoke_send_str(int fd, const char *str)
Definition: invokelib.c:74