relitcense
This commit is contained in:
parent
9556625561
commit
45b84e202f
|
@ -1,3 +1,30 @@
|
||||||
|
<!--
|
||||||
|
Copyright (c) 2023 Carl Klemm <carl@uvos.xyz>
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without modification,
|
||||||
|
are permitted provided that the following conditions are met:
|
||||||
|
|
||||||
|
* Redistributions of source code must retain the above copyright notice, this
|
||||||
|
list of conditions and the following disclaimer.
|
||||||
|
* Redistributions in binary form must reproduce the above copyright notice,
|
||||||
|
this list of conditions and the following disclaimer in the documentation and/or
|
||||||
|
other materials provided with the distribution.
|
||||||
|
* Neither the name of %ORGANIZATION% nor the names of its contributors may be
|
||||||
|
used to endorse or promote products derived from this software without specific
|
||||||
|
prior written permission.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||||
|
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||||
|
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
-->
|
||||||
<doxygenlayout version="1.0">
|
<doxygenlayout version="1.0">
|
||||||
<!-- Generated by doxygen 1.9.3 -->
|
<!-- Generated by doxygen 1.9.3 -->
|
||||||
<!-- Navigation index tabs for HTML output -->
|
<!-- Navigation index tabs for HTML output -->
|
||||||
|
|
|
@ -40,5 +40,5 @@ int main(int argc, char* argv[])
|
||||||
@endcode
|
@endcode
|
||||||
//-----------------------------------------------------------
|
//-----------------------------------------------------------
|
||||||
|
|
||||||
libeismultiplexer is licensed to you under the Apache License, Version 2.0
|
libeismultiplexer is licensed to you under the BSD-3-CLAUSE license
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,20 +1,29 @@
|
||||||
/**
|
/* * Copyright (c) 2023 Carl Klemm <carl@uvos.xyz>
|
||||||
* Copyright (C) 2023 Carl Klemm
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* Redistribution and use in source and binary forms, with or without modification,
|
||||||
* modify it under the terms of the GNU General Public License
|
* are permitted provided that the following conditions are met:
|
||||||
* version 3 as published by the Free Software Foundation.
|
*
|
||||||
*
|
* * Redistributions of source code must retain the above copyright notice, this
|
||||||
* This program is distributed in the hope that it will be useful,
|
* list of conditions and the following disclaimer.
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* * Redistributions in binary form must reproduce the above copyright notice,
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* this list of conditions and the following disclaimer in the documentation and/or
|
||||||
* GNU General Public License for more details.
|
* other materials provided with the distribution.
|
||||||
*
|
* * Neither the name of %ORGANIZATION% nor the names of its contributors may be
|
||||||
* You should have received a copy of the GNU General Public License
|
* used to endorse or promote products derived from this software without specific
|
||||||
* along with this program; if not, write to the
|
* prior written permission.
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
*
|
||||||
* Boston, MA 02110-1301, USA.
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
*/
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||||
|
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||||
|
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
#define _POSIX_C_SOURCE 199309L
|
#define _POSIX_C_SOURCE 199309L
|
||||||
#include "eismultiplexer.h"
|
#include "eismultiplexer.h"
|
||||||
|
|
|
@ -1,20 +1,29 @@
|
||||||
/**
|
/* * Copyright (c) 2023 Carl Klemm <carl@uvos.xyz>
|
||||||
* Copyright (C) 2023 Carl Klemm
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* Redistribution and use in source and binary forms, with or without modification,
|
||||||
* modify it under the terms of the GNU General Public License
|
* are permitted provided that the following conditions are met:
|
||||||
* version 3 as published by the Free Software Foundation.
|
*
|
||||||
*
|
* * Redistributions of source code must retain the above copyright notice, this
|
||||||
* This program is distributed in the hope that it will be useful,
|
* list of conditions and the following disclaimer.
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* * Redistributions in binary form must reproduce the above copyright notice,
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* this list of conditions and the following disclaimer in the documentation and/or
|
||||||
* GNU General Public License for more details.
|
* other materials provided with the distribution.
|
||||||
*
|
* * Neither the name of %ORGANIZATION% nor the names of its contributors may be
|
||||||
* You should have received a copy of the GNU General Public License
|
* used to endorse or promote products derived from this software without specific
|
||||||
* along with this program; if not, write to the
|
* prior written permission.
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
*
|
||||||
* Boston, MA 02110-1301, USA.
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
*/
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||||
|
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||||
|
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
44
main.c
44
main.c
|
@ -1,21 +1,29 @@
|
||||||
/**
|
/* * Copyright (c) 2023 Carl Klemm <carl@uvos.xyz>
|
||||||
* libeismultiplexer
|
* All rights reserved.
|
||||||
* Copyright (C) 2023 Carl Klemm
|
*
|
||||||
*
|
* Redistribution and use in source and binary forms, with or without modification,
|
||||||
* This program is free software; you can redistribute it and/or
|
* are permitted provided that the following conditions are met:
|
||||||
* modify it under the terms of the GNU General Public License
|
*
|
||||||
* version 3 as published by the Free Software Foundation.
|
* * Redistributions of source code must retain the above copyright notice, this
|
||||||
*
|
* list of conditions and the following disclaimer.
|
||||||
* This program is distributed in the hope that it will be useful,
|
* * Redistributions in binary form must reproduce the above copyright notice,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* this list of conditions and the following disclaimer in the documentation and/or
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* other materials provided with the distribution.
|
||||||
* GNU General Public License for more details.
|
* * Neither the name of %ORGANIZATION% nor the names of its contributors may be
|
||||||
*
|
* used to endorse or promote products derived from this software without specific
|
||||||
* You should have received a copy of the GNU General Public License
|
* prior written permission.
|
||||||
* along with this program; if not, write to the
|
*
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
* Boston, MA 02110-1301, USA.
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
*/
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||||
|
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||||
|
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
43
usbshm.c
43
usbshm.c
|
@ -1,20 +1,29 @@
|
||||||
/**
|
/* * Copyright (c) 2023 Carl Klemm <carl@uvos.xyz>
|
||||||
* Copyright (C) 2023 Carl Klemm
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* Redistribution and use in source and binary forms, with or without modification,
|
||||||
* modify it under the terms of the GNU General Public License
|
* are permitted provided that the following conditions are met:
|
||||||
* version 3 as published by the Free Software Foundation.
|
*
|
||||||
*
|
* * Redistributions of source code must retain the above copyright notice, this
|
||||||
* This program is distributed in the hope that it will be useful,
|
* list of conditions and the following disclaimer.
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* * Redistributions in binary form must reproduce the above copyright notice,
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* this list of conditions and the following disclaimer in the documentation and/or
|
||||||
* GNU General Public License for more details.
|
* other materials provided with the distribution.
|
||||||
*
|
* * Neither the name of %ORGANIZATION% nor the names of its contributors may be
|
||||||
* You should have received a copy of the GNU General Public License
|
* used to endorse or promote products derived from this software without specific
|
||||||
* along with this program; if not, write to the
|
* prior written permission.
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
*
|
||||||
* Boston, MA 02110-1301, USA.
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
*/
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||||
|
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||||
|
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "usbshm.h"
|
#include "usbshm.h"
|
||||||
|
|
||||||
|
|
43
usbshm.h
43
usbshm.h
|
@ -1,20 +1,29 @@
|
||||||
/**
|
/* * Copyright (c) 2023 Carl Klemm <carl@uvos.xyz>
|
||||||
* Copyright (C) 2023 Carl Klemm
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* Redistribution and use in source and binary forms, with or without modification,
|
||||||
* modify it under the terms of the GNU General Public License
|
* are permitted provided that the following conditions are met:
|
||||||
* version 3 as published by the Free Software Foundation.
|
*
|
||||||
*
|
* * Redistributions of source code must retain the above copyright notice, this
|
||||||
* This program is distributed in the hope that it will be useful,
|
* list of conditions and the following disclaimer.
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* * Redistributions in binary form must reproduce the above copyright notice,
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* this list of conditions and the following disclaimer in the documentation and/or
|
||||||
* GNU General Public License for more details.
|
* other materials provided with the distribution.
|
||||||
*
|
* * Neither the name of %ORGANIZATION% nor the names of its contributors may be
|
||||||
* You should have received a copy of the GNU General Public License
|
* used to endorse or promote products derived from this software without specific
|
||||||
* along with this program; if not, write to the
|
* prior written permission.
|
||||||
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
*
|
||||||
* Boston, MA 02110-1301, USA.
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
*/
|
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||||
|
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||||
|
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
||||||
|
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||||
|
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||||
|
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
||||||
|
* ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||||
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||||
|
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*/
|
||||||
|
|
||||||
#include <libusb-1.0/libusb.h>
|
#include <libusb-1.0/libusb.h>
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
|
|
Loading…
Reference in a new issue