Browse Source

Add license header to .h and .c files

pull/1/head
Milan Stute 6 months ago
parent
commit
c2126ec77f
35 changed files with 665 additions and 0 deletions
  1. +19
    -0
      daemon/core.c
  2. +19
    -0
      daemon/core.h
  3. +19
    -0
      daemon/corewlan.h
  4. +19
    -0
      daemon/corewlan.m
  5. +19
    -0
      daemon/io.c
  6. +19
    -0
      daemon/io.h
  7. +19
    -0
      daemon/netutils.c
  8. +19
    -0
      daemon/netutils.h
  9. +19
    -0
      daemon/owl.c
  10. +19
    -0
      src/channel.c
  11. +19
    -0
      src/channel.h
  12. +19
    -0
      src/election.c
  13. +19
    -0
      src/election.h
  14. +19
    -0
      src/frame.c
  15. +19
    -0
      src/frame.h
  16. +19
    -0
      src/peers.c
  17. +19
    -0
      src/peers.h
  18. +19
    -0
      src/rx.c
  19. +19
    -0
      src/rx.h
  20. +19
    -0
      src/schedule.c
  21. +19
    -0
      src/schedule.h
  22. +19
    -0
      src/state.c
  23. +19
    -0
      src/state.h
  24. +19
    -0
      src/sync.c
  25. +19
    -0
      src/sync.h
  26. +19
    -0
      src/tx.c
  27. +19
    -0
      src/tx.h
  28. +19
    -0
      src/version.c
  29. +19
    -0
      src/version.h
  30. +19
    -0
      src/wire.c
  31. +19
    -0
      src/wire.h
  32. +19
    -0
      tests/test_awdl_election.cpp
  33. +19
    -0
      tests/test_awdl_peers.cpp
  34. +19
    -0
      tests/test_awdl_sync.cpp
  35. +19
    -0
      tests/test_wire.cpp

+ 19
- 0
daemon/core.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "core.h"
#include "netutils.h"


+ 19
- 0
daemon/core.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef OWL_CORE_H
#define OWL_CORE_H


+ 19
- 0
daemon/corewlan.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef APPLE_COREWLAN_H
#define APPLE_COREWLAN_H


+ 19
- 0
daemon/corewlan.m View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#import <Foundation/Foundation.h>
#import <CoreWLAN/CWInterface.h>
#import <CoreWLAN/CWChannel.h>

+ 19
- 0
daemon/io.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include <errno.h>
#include <unistd.h>
#include <string.h>

+ 19
- 0
daemon/io.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef OWL_IO_H
#define OWL_IO_H


+ 19
- 0
daemon/netutils.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "netutils.h"

#include <errno.h>

+ 19
- 0
daemon/netutils.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef OWL_NETUTILS_H_
#define OWL_NETUTILS_H_


+ 19
- 0
daemon/owl.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include <stdint.h>
#include <unistd.h>
#include <stdlib.h>

+ 19
- 0
src/channel.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "channel.h"
#include "ieee80211.h"


+ 19
- 0
src/channel.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef AWDL_CHANNEL_H_
#define AWDL_CHANNEL_H_


+ 19
- 0
src/election.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include <string.h>
#include <stdio.h>


+ 19
- 0
src/election.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef AWDL_ELECTION_H_
#define AWDL_ELECTION_H_


+ 19
- 0
src/frame.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "frame.h"

const char *awdl_frame_as_str(uint8_t type) {

+ 19
- 0
src/frame.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef AWDL_FRAME_H_
#define AWDL_FRAME_H_


+ 19
- 0
src/peers.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

+ 19
- 0
src/peers.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef AWDL_PEERS_H
#define AWDL_PEERS_H


+ 19
- 0
src/rx.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include <string.h>
#include <errno.h>
#include <netinet/in.h>

+ 19
- 0
src/rx.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef AWDL_RX_H_
#define AWDL_RX_H_


+ 19
- 0
src/schedule.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "schedule.h"

double usec_to_sec(uint64_t usec) {

+ 19
- 0
src/schedule.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef AWDL_SCHEDULE_H_
#define AWDL_SCHEDULE_H_


+ 19
- 0
src/state.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include <time.h>
#include <string.h>


+ 19
- 0
src/state.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef AWDL_STATE_H_
#define AWDL_STATE_H_


+ 19
- 0
src/sync.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include "sync.h"
#include "ieee80211.h"


+ 19
- 0
src/sync.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef AWDL_SYNC_H_
#define AWDL_SYNC_H_


+ 19
- 0
src/tx.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include <stdint.h>
#include <string.h>


+ 19
- 0
src/tx.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef AWDL_TX_H_
#define AWDL_TX_H_


+ 19
- 0
src/version.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include <stdio.h>

#include "version.h"

+ 19
- 0
src/version.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef AWDL_VERSION_H_
#define AWDL_VERSION_H_


+ 19
- 0
src/wire.c View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#include <string.h>
#include <stdlib.h>


+ 19
- 0
src/wire.h View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

#ifndef OWL_WIRE_H
#define OWL_WIRE_H


+ 19
- 0
tests/test_awdl_election.cpp View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

extern "C" {
#include "election.h"
#include "peers.h"

+ 19
- 0
tests/test_awdl_peers.cpp View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

extern "C" {
#include "peers.h"
}

+ 19
- 0
tests/test_awdl_sync.cpp View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

extern "C" {
#include "sync.h"
#include "ieee80211.h"

+ 19
- 0
tests/test_wire.cpp View File

@@ -1,3 +1,22 @@
/*
* OWL: an open Apple Wireless Direct Link (AWDL) implementation
* Copyright (C) 2018 The Open Wireless Link Project (https://owlink.org)
* Copyright (C) 2018 Milan Stute
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

extern "C" {
#include "state.h"
#include "wire.h"

Loading…
Cancel
Save