summaryrefslogtreecommitdiff
path: root/toxav
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-09-09 19:54:05 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-09-14 19:09:10 +0000
commit49bb43f6626b927b978eac765609844294523cad (patch)
tree8a56916651f51c63489cd1427e6fba2b6a19cbdb /toxav
parent7821cd84121ac8a4de5c70ab46d36bcbb881bb43 (diff)
Standardise header guards.
Using the full path including the repo name.
Diffstat (limited to 'toxav')
-rw-r--r--toxav/audio.h6
-rw-r--r--toxav/bwcontroller.h6
-rw-r--r--toxav/msi.h6
-rw-r--r--toxav/ring_buffer.h6
-rw-r--r--toxav/rtp.h6
-rw-r--r--toxav/toxav.api.h6
-rw-r--r--toxav/toxav.h6
-rw-r--r--toxav/video.h6
8 files changed, 24 insertions, 24 deletions
diff --git a/toxav/audio.h b/toxav/audio.h
index a323a08e..ccb28c10 100644
--- a/toxav/audio.h
+++ b/toxav/audio.h
@@ -17,8 +17,8 @@
17 * You should have received a copy of the GNU General Public License 17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 19 */
20#ifndef AUDIO_H 20#ifndef C_TOXCORE_TOXAV_AUDIO_H
21#define AUDIO_H 21#define C_TOXCORE_TOXAV_AUDIO_H
22 22
23#include "toxav.h" 23#include "toxav.h"
24 24
@@ -85,4 +85,4 @@ void ac_iterate(ACSession *ac);
85int ac_queue_message(Mono_Time *mono_time, void *acp, struct RTPMessage *msg); 85int ac_queue_message(Mono_Time *mono_time, void *acp, struct RTPMessage *msg);
86int ac_reconfigure_encoder(ACSession *ac, int32_t bit_rate, int32_t sampling_rate, uint8_t channels); 86int ac_reconfigure_encoder(ACSession *ac, int32_t bit_rate, int32_t sampling_rate, uint8_t channels);
87 87
88#endif /* AUDIO_H */ 88#endif // C_TOXCORE_TOXAV_AUDIO_H
diff --git a/toxav/bwcontroller.h b/toxav/bwcontroller.h
index 00342d97..c54cc5a6 100644
--- a/toxav/bwcontroller.h
+++ b/toxav/bwcontroller.h
@@ -17,8 +17,8 @@
17 * You should have received a copy of the GNU General Public License 17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 19 */
20#ifndef BWCONROLLER_H 20#ifndef C_TOXCORE_TOXAV_BWCONTROLLER_H
21#define BWCONROLLER_H 21#define C_TOXCORE_TOXAV_BWCONTROLLER_H
22 22
23#include "../toxcore/Messenger.h" 23#include "../toxcore/Messenger.h"
24 24
@@ -33,4 +33,4 @@ void bwc_kill(BWController *bwc);
33void bwc_add_lost(BWController *bwc, uint32_t bytes_lost); 33void bwc_add_lost(BWController *bwc, uint32_t bytes_lost);
34void bwc_add_recv(BWController *bwc, uint32_t recv_bytes); 34void bwc_add_recv(BWController *bwc, uint32_t recv_bytes);
35 35
36#endif /* BWCONROLLER_H */ 36#endif // C_TOXCORE_TOXAV_BWCONTROLLER_H
diff --git a/toxav/msi.h b/toxav/msi.h
index 30841498..af7f6f34 100644
--- a/toxav/msi.h
+++ b/toxav/msi.h
@@ -17,8 +17,8 @@
17 * You should have received a copy of the GNU General Public License 17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 19 */
20#ifndef MSI_H 20#ifndef C_TOXCORE_TOXAV_MSI_H
21#define MSI_H 21#define C_TOXCORE_TOXAV_MSI_H
22 22
23#include "audio.h" 23#include "audio.h"
24#include "video.h" 24#include "video.h"
@@ -148,4 +148,4 @@ int msi_answer(MSICall *call, uint8_t capabilities);
148 */ 148 */
149int msi_change_capabilities(MSICall *call, uint8_t capabilities); 149int msi_change_capabilities(MSICall *call, uint8_t capabilities);
150 150
151#endif /* MSI_H */ 151#endif // C_TOXCORE_TOXAV_MSI_H
diff --git a/toxav/ring_buffer.h b/toxav/ring_buffer.h
index 307e16ec..e63d08e4 100644
--- a/toxav/ring_buffer.h
+++ b/toxav/ring_buffer.h
@@ -19,8 +19,8 @@
19 * You should have received a copy of the GNU General Public License 19 * You should have received a copy of the GNU General Public License
20 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 20 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
21 */ 21 */
22#ifndef RING_BUFFER_H 22#ifndef C_TOXCORE_TOXAV_RING_BUFFER_H
23#define RING_BUFFER_H 23#define C_TOXCORE_TOXAV_RING_BUFFER_H
24 24
25#include <stdbool.h> 25#include <stdbool.h>
26#include <stdint.h> 26#include <stdint.h>
@@ -44,4 +44,4 @@ uint16_t rb_data(const RingBuffer *b, void **dest);
44} 44}
45#endif 45#endif
46 46
47#endif /* RING_BUFFER_H */ 47#endif // C_TOXCORE_TOXAV_RING_BUFFER_H
diff --git a/toxav/rtp.h b/toxav/rtp.h
index e068f6ac..4d6fb791 100644
--- a/toxav/rtp.h
+++ b/toxav/rtp.h
@@ -17,8 +17,8 @@
17 * You should have received a copy of the GNU General Public License 17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 19 */
20#ifndef RTP_H 20#ifndef C_TOXCORE_TOXAV_RTP_H
21#define RTP_H 21#define C_TOXCORE_TOXAV_RTP_H
22 22
23#include "bwcontroller.h" 23#include "bwcontroller.h"
24 24
@@ -220,4 +220,4 @@ int rtp_send_data(RTPSession *session, const uint8_t *data, uint32_t length,
220} // extern "C" 220} // extern "C"
221#endif 221#endif
222 222
223#endif /* RTP_H */ 223#endif // C_TOXCORE_TOXAV_RTP_H
diff --git a/toxav/toxav.api.h b/toxav/toxav.api.h
index 02f8bc9f..14c6a8e1 100644
--- a/toxav/toxav.api.h
+++ b/toxav/toxav.api.h
@@ -18,8 +18,8 @@
18 * You should have received a copy of the GNU General Public License 18 * You should have received a copy of the GNU General Public License
19 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 19 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
20 */ 20 */
21#ifndef TOXAV_H 21#ifndef C_TOXCORE_TOXAV_TOXAV_H
22#define TOXAV_H 22#define C_TOXCORE_TOXAV_TOXAV_H
23 23
24#include <stdbool.h> 24#include <stdbool.h>
25#include <stddef.h> 25#include <stddef.h>
@@ -668,5 +668,5 @@ typedef TOXAV_ERR_BIT_RATE_SET Toxav_Err_Bit_Rate_Set;
668typedef TOXAV_ERR_SEND_FRAME Toxav_Err_Send_Frame; 668typedef TOXAV_ERR_SEND_FRAME Toxav_Err_Send_Frame;
669typedef TOXAV_CALL_CONTROL Toxav_Call_Control; 669typedef TOXAV_CALL_CONTROL Toxav_Call_Control;
670 670
671#endif /* TOXAV_H */ 671#endif // C_TOXCORE_TOXAV_TOXAV_H
672%} 672%}
diff --git a/toxav/toxav.h b/toxav/toxav.h
index 4cc2af2c..bc634e91 100644
--- a/toxav/toxav.h
+++ b/toxav/toxav.h
@@ -17,8 +17,8 @@
17 * You should have received a copy of the GNU General Public License 17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 19 */
20#ifndef TOXAV_H 20#ifndef C_TOXCORE_TOXAV_TOXAV_H
21#define TOXAV_H 21#define C_TOXCORE_TOXAV_TOXAV_H
22 22
23#include <stdbool.h> 23#include <stdbool.h>
24#include <stddef.h> 24#include <stddef.h>
@@ -797,4 +797,4 @@ typedef TOXAV_ERR_BIT_RATE_SET Toxav_Err_Bit_Rate_Set;
797typedef TOXAV_ERR_SEND_FRAME Toxav_Err_Send_Frame; 797typedef TOXAV_ERR_SEND_FRAME Toxav_Err_Send_Frame;
798typedef TOXAV_CALL_CONTROL Toxav_Call_Control; 798typedef TOXAV_CALL_CONTROL Toxav_Call_Control;
799 799
800#endif /* TOXAV_H */ 800#endif // C_TOXCORE_TOXAV_TOXAV_H
diff --git a/toxav/video.h b/toxav/video.h
index 16f4658b..f7dfc992 100644
--- a/toxav/video.h
+++ b/toxav/video.h
@@ -17,8 +17,8 @@
17 * You should have received a copy of the GNU General Public License 17 * You should have received a copy of the GNU General Public License
18 * along with Tox. If not, see <http://www.gnu.org/licenses/>. 18 * along with Tox. If not, see <http://www.gnu.org/licenses/>.
19 */ 19 */
20#ifndef VIDEO_H 20#ifndef C_TOXCORE_TOXAV_VIDEO_H
21#define VIDEO_H 21#define C_TOXCORE_TOXAV_VIDEO_H
22 22
23#include "toxav.h" 23#include "toxav.h"
24 24
@@ -67,4 +67,4 @@ void vc_iterate(VCSession *vc);
67int vc_queue_message(Mono_Time *mono_time, void *vcp, struct RTPMessage *msg); 67int vc_queue_message(Mono_Time *mono_time, void *vcp, struct RTPMessage *msg);
68int vc_reconfigure_encoder(VCSession *vc, uint32_t bit_rate, uint16_t width, uint16_t height, int16_t kf_max_dist); 68int vc_reconfigure_encoder(VCSession *vc, uint32_t bit_rate, uint16_t width, uint16_t height, int16_t kf_max_dist);
69 69
70#endif /* VIDEO_H */ 70#endif // C_TOXCORE_TOXAV_VIDEO_H