Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,15 @@ repos:
- id: trailing-whitespace
- id: check-yaml
- id: check-merge-conflict
- repo: https://github.com/fsfe/reuse-tool
rev: v6.2.0
hooks:
- id: reuse-lint-file
files: |
(?x)^(
(castApp|demoApp)/src/.*\.(c|h|cpp|dbd)
|(castApp|demoApp)/Db/.*\.db
|(.*/)?Makefile
|configure/(CONFIG|CONFIG_SITE|RELEASE|RULES|RULES_DIRS|RULES_TOP|RULES\.ioc)
|iocBoot/.*/st\.cmd
)$
64 changes: 64 additions & 0 deletions LICENSES/EPICS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
Copyright (c) 2013-2026 Michael Davidsaver and the reccaster contributors.

reccaster is distributed subject to the following license conditions:

SOFTWARE LICENSE AGREEMENT
Software: reccaster

1. The "Software", below, refers to reccaster (in either source code, or
binary form and accompanying documentation). Each licensee is
addressed as "you" or "Licensee."

2. The copyright holders shown above and their third-party licensors
hereby grant Licensee a royalty-free nonexclusive license, subject to
the limitations stated herein and U.S. Government license rights.

3. You may modify and make a copy or copies of the Software for use
within your organization, if you meet the following conditions:
a. Copies in source code must include the copyright notice and this
Software License Agreement.
b. Copies in binary form must include the copyright notice and this
Software License Agreement in the documentation and/or other
materials provided with the copy.

4. You may modify a copy or copies of the Software or any portion of it,
thus forming a work based on the Software, and distribute copies of
such work outside your organization, if you meet all of the following
conditions:
a. Copies in source code must include the copyright notice and this
Software License Agreement;
b. Copies in binary form must include the copyright notice and this
Software License Agreement in the documentation and/or other
materials provided with the copy;
c. Modified copies and works based on the Software must carry
prominent notices stating that you changed specified portions of
the Software.

5. Portions of the Software resulted from work developed under a U.S.
Government contract and are subject to the following license: the
Government is granted for itself and others acting on its behalf a
paid-up, nonexclusive, irrevocable worldwide license in this computer
software to reproduce, prepare derivative works, and perform publicly
and display publicly.

6. WARRANTY DISCLAIMER. THE SOFTWARE IS SUPPLIED "AS IS" WITHOUT WARRANTY
OF ANY KIND. THE COPYRIGHT HOLDERS, THEIR THIRD PARTY LICENSORS, THE
UNITED STATES, THE UNITED STATES DEPARTMENT OF ENERGY, AND THEIR
EMPLOYEES: (1) DISCLAIM ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING
BUT NOT LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE, TITLE OR NON-INFRINGEMENT, (2) DO NOT ASSUME
ANY LEGAL LIABILITY OR RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS,
OR USEFULNESS OF THE SOFTWARE, (3) DO NOT REPRESENT THAT USE OF THE
SOFTWARE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS, (4) DO NOT WARRANT
THAT THE SOFTWARE WILL FUNCTION UNINTERRUPTED, THAT IT IS ERROR-FREE
OR THAT ANY ERRORS WILL BE CORRECTED.

7. LIMITATION OF LIABILITY. IN NO EVENT WILL THE COPYRIGHT HOLDERS, THEIR
THIRD PARTY LICENSORS, THE UNITED STATES, THE UNITED STATES DEPARTMENT
OF ENERGY, OR THEIR EMPLOYEES: BE LIABLE FOR ANY INDIRECT, INCIDENTAL,
CONSEQUENTIAL, SPECIAL OR PUNITIVE DAMAGES OF ANY KIND OR NATURE,
INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS OR LOSS OF DATA, FOR ANY
REASON WHATSOEVER, WHETHER SUCH LIABILITY IS ASSERTED ON THE BASIS OF
CONTRACT, TORT (INCLUDING NEGLIGENCE OR STRICT LIABILITY), OR
OTHERWISE, EVEN IF ANY OF SAID PARTIES HAS BEEN WARNED OF THE
POSSIBILITY OF SUCH LOSS OR DAMAGES.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
# SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#
# SPDX-License-Identifier: EPICS

#Makefile at top of application tree
TOP = .
include $(TOP)/configure/CONFIG
Expand Down
5 changes: 5 additions & 0 deletions castApp/Db/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
# SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#
# SPDX-License-Identifier: EPICS

TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
Expand Down
4 changes: 4 additions & 0 deletions castApp/Db/reccaster.db
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#
# SPDX-License-Identifier: EPICS

record(mbbi, "$(P)State-Sts") {
field(DTYP, "RecCaster")
field(PINI, "RUNNING")
Expand Down
4 changes: 4 additions & 0 deletions castApp/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS

TOP = ..
include $(TOP)/configure/CONFIG
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*))
Expand Down
5 changes: 5 additions & 0 deletions castApp/src/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2003 Argonne National Laboratory
# SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#
# SPDX-License-Identifier: EPICS

TOP=../..

include $(TOP)/configure/CONFIG
Expand Down
4 changes: 4 additions & 0 deletions castApp/src/castMain.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2000 Argonne National Laboratory
//
// SPDX-License-Identifier: EPICS

/* castMain.cpp */
/* Author: Marty Kraimer Date: 17MAR2000 */

Expand Down
5 changes: 5 additions & 0 deletions castApp/src/caster.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#include <stdlib.h>
#include <stdarg.h>
Expand Down
6 changes: 6 additions & 0 deletions castApp/src/caster.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#ifndef CASTER_H
#define CASTER_H

Expand Down
5 changes: 5 additions & 0 deletions castApp/src/castinit.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#include <osiSock.h>

Expand Down
5 changes: 5 additions & 0 deletions castApp/src/casttcp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#include <string.h>

Expand Down
5 changes: 5 additions & 0 deletions castApp/src/castudp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#include <errlog.h>

Expand Down
5 changes: 5 additions & 0 deletions castApp/src/dbcb.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#include <epicsVersion.h>
#include <epicsString.h>
Expand Down
4 changes: 4 additions & 0 deletions castApp/src/reccaster.dbd
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#
# SPDX-License-Identifier: EPICS

registrar(reccasterRegistrar)
variable(reccastTimeout,double)
variable(reccastMaxHoldoff,double)
Expand Down
5 changes: 5 additions & 0 deletions castApp/src/sockhelpers.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#if defined(_WIN32) && !defined(_WIN32_WINNT)
/* Windows API level default to Vista */
Expand Down
6 changes: 6 additions & 0 deletions castApp/src/sockhelpers.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#ifndef SOCKHELPERS_H
#define SOCKHELPERS_H
/* blocking socket operations w/ timeouts and interruptions */
Expand Down
6 changes: 6 additions & 0 deletions castApp/src/testAddEnvVars.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#include <string.h>

#include <epicsUnitTest.h>
Expand Down
6 changes: 6 additions & 0 deletions castApp/src/testAddExcludePattern.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#include <string.h>

#include <epicsUnitTest.h>
Expand Down
5 changes: 5 additions & 0 deletions castApp/src/testsock.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#include <string.h>

Expand Down
5 changes: 5 additions & 0 deletions castApp/src/testtcp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#include <string.h>

Expand Down
5 changes: 5 additions & 0 deletions castApp/src/testudp.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
*
* SPDX-License-Identifier: EPICS
*/

#include <string.h>

Expand Down
4 changes: 4 additions & 0 deletions configure/CONFIG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS

# CONFIG - Load build configuration data
#
# Do not make changes to this file!
Expand Down
5 changes: 5 additions & 0 deletions configure/CONFIG_SITE
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2006 Argonne National Laboratory
# SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#
# SPDX-License-Identifier: EPICS

# CONFIG_SITE

# Make any application-specific changes to the EPICS build
Expand Down
4 changes: 4 additions & 0 deletions configure/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 1999 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS

TOP=..

include $(TOP)/configure/CONFIG
Expand Down
5 changes: 5 additions & 0 deletions configure/RELEASE
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
# SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#
# SPDX-License-Identifier: EPICS

# RELEASE - Location of external support modules
#
# IF YOU MAKE ANY CHANGES to this file you must subsequently
Expand Down
4 changes: 4 additions & 0 deletions configure/RULES
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 2000 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS

# RULES

include $(CONFIG)/RULES
Expand Down
4 changes: 4 additions & 0 deletions configure/RULES.ioc
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# SPDX-FileCopyrightText: 1999 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS

#RULES.ioc
include $(CONFIG)/RULES.ioc
4 changes: 4 additions & 0 deletions configure/RULES_DIRS
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# SPDX-FileCopyrightText: 1999 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS

#RULES_DIRS
include $(CONFIG)/RULES_DIRS
4 changes: 4 additions & 0 deletions configure/RULES_TOP
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS

#RULES_TOP
include $(CONFIG)/RULES_TOP
5 changes: 5 additions & 0 deletions demoApp/Db/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
# SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#
# SPDX-License-Identifier: EPICS

TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
Expand Down
3 changes: 3 additions & 0 deletions demoApp/Db/somerecords.db
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#
# SPDX-License-Identifier: EPICS

record(longin, "$(P)li") {
alias("$(P)lix1")
Expand Down
4 changes: 4 additions & 0 deletions demoApp/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS

TOP = ..
include $(TOP)/configure/CONFIG
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*))
Expand Down
5 changes: 5 additions & 0 deletions demoApp/src/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# SPDX-FileCopyrightText: 2003 Argonne National Laboratory
# SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#
# SPDX-License-Identifier: EPICS

TOP=../..

include $(TOP)/configure/CONFIG
Expand Down
4 changes: 4 additions & 0 deletions demoApp/src/demoMain.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
// SPDX-FileCopyrightText: 2000 Argonne National Laboratory
//
// SPDX-License-Identifier: EPICS

/* demoMain.cpp */
/* Author: Marty Kraimer Date: 17MAR2000 */

Expand Down
4 changes: 4 additions & 0 deletions iocBoot/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 1997 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS

TOP = ..
include $(TOP)/configure/CONFIG
DIRS += $(wildcard *ioc*)
Expand Down
4 changes: 4 additions & 0 deletions iocBoot/iocdemo/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# SPDX-FileCopyrightText: 1998 Argonne National Laboratory
#
# SPDX-License-Identifier: EPICS

TOP = ../..
include $(TOP)/configure/CONFIG
ARCH = linux-x86_64-debug
Expand Down
5 changes: 5 additions & 0 deletions iocBoot/iocdemo/st.cmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!../../bin/linux-x86_64-debug/demo

#- SPDX-FileCopyrightText: 2003 Argonne National Laboratory
#- SPDX-FileCopyrightText: Michael Davidsaver and the reccaster contributors
#-
#- SPDX-License-Identifier: EPICS

## You may have to change demo to something else
## everywhere it appears in this file

Expand Down
Loading