k_msg.h
Go to the documentation of this file.
1 /*
2  * KubOS Core Flight Services
3  * Copyright (C) 2016 Kubos Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
32 #ifndef K_MSG_H
33 #define K_MSG_H
34 
35 #include <stdint.h>
36 #include "csp/csp.h"
37 
38 typedef struct k_msg {
39  uint16_t type;
40  char * content;
41 } k_msg_t;
42 
43 int k_msg_send(k_msg_t * m, csp_conn_t * conn);
44 
45 #endif
46 
47 /* @} */
char * content
Definition: k_msg.h:40
int k_msg_send(k_msg_t *m, csp_conn_t *conn)
Definition: k_msg.h:38
uint16_t type
Definition: k_msg.h:39
struct k_msg k_msg_t