Unified the licenses on header files since we don't have any inline functions or macros with substantial bodies. Per RMS: "Our view is that just using structure definitions, typedefs, enumeration constants, macros with simple bodies, etc., is NOT enough to make a derivative work. It would take a substantial amount of code (coming from inline functions or macros with substantial bodies) to do that."

This commit is contained in:
skarg
2012-04-18 16:15:59 +00:00
parent 9e96fdb62e
commit f6096f6a4d
67 changed files with 1612 additions and 2260 deletions
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef ABORT_H #ifndef ABORT_H
#define ABORT_H #define ABORT_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2004 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef ADDRESS_H #ifndef ADDRESS_H
#define ADDRESS_H #define ADDRESS_H
+23 -34
View File
@@ -1,37 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2009 John Minack * Copyright (C) 2009 John Minack
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef ALARM_ACK_H_ #ifndef ALARM_ACK_H_
#define ALARM_ACK_H_ #define ALARM_ACK_H_
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef APDU_H #ifndef APDU_H
#define APDU_H #define APDU_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef ARCNET_H #ifndef ARCNET_H
#define ARCNET_H #define ARCNET_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef ATOMIC_READ_FILE_H #ifndef ATOMIC_READ_FILE_H
#define ATOMIC_READ_FILE_H #define ATOMIC_READ_FILE_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef ATOMIC_WRITE_FILE_H #ifndef ATOMIC_WRITE_FILE_H
#define ATOMIC_WRITE_FILE_H #define ATOMIC_WRITE_FILE_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2007 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACADDR_H #ifndef BACADDR_H
#define BACADDR_H #define BACADDR_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACAPP_H #ifndef BACAPP_H
#define BACAPP_H #define BACAPP_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2004 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACDCODE_H #ifndef BACDCODE_H
#define BACDCODE_H #define BACDCODE_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACDEF_H #ifndef BACDEF_H
#define BACDEF_H #define BACDEF_H
+23 -34
View File
@@ -1,37 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2008 John Minack * Copyright (C) 2008 John Minack
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef _BAC_DEV_PROP_REF_H_ #ifndef _BAC_DEV_PROP_REF_H_
#define _BAC_DEV_PROP_REF_H_ #define _BAC_DEV_PROP_REF_H_
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2003 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACENUM_H #ifndef BACENUM_H
#define BACENUM_H #define BACENUM_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACERROR_H #ifndef BACERROR_H
#define BACERROR_H #define BACERROR_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2004 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACINT_H #ifndef BACINT_H
#define BACINT_H #define BACINT_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2006 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACNET_H #ifndef BACNET_H
#define BACNET_H #define BACNET_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 John Goulah * Copyright (C) 2005 John Goulah
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACPROP_H #ifndef BACPROP_H
#define BACPROP_H #define BACPROP_H
+23 -34
View File
@@ -1,37 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2008 John Minack * Copyright (C) 2008 John Minack
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef _BAC_PROP_STATES_H_ #ifndef _BAC_PROP_STATES_H_
#define _BAC_PROP_STATES_H_ #define _BAC_PROP_STATES_H_
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2007 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACREAL_H #ifndef BACREAL_H
#define BACREAL_H #define BACREAL_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACSTR_H #ifndef BACSTR_H
#define BACSTR_H #define BACSTR_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACTEXT_H #ifndef BACTEXT_H
#define BACTEXT_H #define BACTEXT_H
+23
View File
@@ -1,3 +1,26 @@
/**************************************************************************
*
* Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*********************************************************************/
#ifndef BIGEND_H #ifndef BIGEND_H
#define BIGEND_H #define BIGEND_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BIP_H #ifndef BIP_H
#define BIP_H #define BIP_H
+24 -33
View File
@@ -1,42 +1,33 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2004 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BITS_H #ifndef BITS_H
#define BITS_H #define BITS_H
/******************************************************************** /********************************************************************
* Bit Masks * Bit Masks
*********************************************************************/ *********************************************************************/
#define BIT(x) (1<<(x))
#define BIT0 (0x01) #define BIT0 (0x01)
#define BIT1 (0x02) #define BIT1 (0x02)
#define BIT2 (0x04) #define BIT2 (0x04)
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2007 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BVLC_H #ifndef BVLC_H
#define BVLC_H #define BVLC_H
+3 -5
View File
@@ -1,6 +1,6 @@
/************************************************************************** /**************************************************************************
* *
* Copyright (C) 2004 Steve Karg <skarg@users.sourceforge.net> * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
* *
* Permission is hereby granted, free of charge, to any person obtaining * Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the * a copy of this software and associated documentation files (the
@@ -20,14 +20,12 @@
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*********************************************************************/ *********************************************************************/
/* Defines the bit/byte/word/long conversions that are used in code */
#ifndef BYTES_H #ifndef BYTES_H
#define BYTES_H #define BYTES_H
/* Defines the bit/byte/word/long conversions that are used in code */
#include <stdint.h> #include <stdint.h>
#ifndef LO_NIB #ifndef LO_NIB
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2006 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef COV_H #ifndef COV_H
#define COV_H #define COV_H
+23 -34
View File
@@ -1,37 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2004 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
USA. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
As a special exception, if other files instantiate templates or * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
use macros or inline functions from this file, or you compile *********************************************************************/
this file and link it with other works to produce a work based
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef CRC_H #ifndef CRC_H
#define CRC_H #define CRC_H
+33 -43
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef DATALINK_H #ifndef DATALINK_H
#define DATALINK_H #define DATALINK_H
@@ -126,22 +116,22 @@ extern "C" {
#endif #endif
/** @defgroup DataLink The BACnet Network (DataLink) Layer /** @defgroup DataLink The BACnet Network (DataLink) Layer
* <b>6 THE NETWORK LAYER </b><br> * <b>6 THE NETWORK LAYER </b><br>
* The purpose of the BACnet network layer is to provide the means by which * The purpose of the BACnet network layer is to provide the means by which
* messages can be relayed from one BACnet network to another, regardless of * messages can be relayed from one BACnet network to another, regardless of
* the BACnet data link technology in use on that network. Whereas the data * the BACnet data link technology in use on that network. Whereas the data
* link layer provides the capability to address messages to a single device * link layer provides the capability to address messages to a single device
* or broadcast them to all devices on the local network, the network layer * or broadcast them to all devices on the local network, the network layer
* allows messages to be directed to a single remote device, broadcast on a * allows messages to be directed to a single remote device, broadcast on a
* remote network, or broadcast globally to all devices on all networks. * remote network, or broadcast globally to all devices on all networks.
* A BACnet Device is uniquely located by a network number and a MAC address. * A BACnet Device is uniquely located by a network number and a MAC address.
* *
* Each client or server application must define exactly one of these * Each client or server application must define exactly one of these
* DataLink settings, which will control which parts of the code will be built: * DataLink settings, which will control which parts of the code will be built:
* - BACDL_ETHERNET -- for Clause 7 ISO 8802-3 ("Ethernet") LAN * - BACDL_ETHERNET -- for Clause 7 ISO 8802-3 ("Ethernet") LAN
* - BACDL_ARCNET -- for Clause 8 ARCNET LAN * - BACDL_ARCNET -- for Clause 8 ARCNET LAN
* - BACDL_MSTP -- for Clause 9 MASTER-SLAVE/TOKEN PASSING (MS/TP) LAN * - BACDL_MSTP -- for Clause 9 MASTER-SLAVE/TOKEN PASSING (MS/TP) LAN
* - BACDL_BIP -- for ANNEX J - BACnet/IP * - BACDL_BIP -- for ANNEX J - BACnet/IP
* - BACDL_ALL -- Unspecified for the build, so the transport can be * - BACDL_ALL -- Unspecified for the build, so the transport can be
* chosen at runtime from among these choices. * chosen at runtime from among these choices.
* - Clause 10 POINT-TO-POINT (PTP) and Clause 11 EIA/CEA-709.1 ("LonTalk") LAN * - Clause 10 POINT-TO-POINT (PTP) and Clause 11 EIA/CEA-709.1 ("LonTalk") LAN
* are not currently supported by this project. * are not currently supported by this project.
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2007 Steve Karg <skarg@users.sourceforge.net> * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef DATE_TIME_H #ifndef DATE_TIME_H
#define DATE_TIME_H #define DATE_TIME_H
+42 -52
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2006 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef DCC_H #ifndef DCC_H
#define DCC_H #define DCC_H
@@ -98,36 +88,36 @@ extern "C" {
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
/** @defgroup RDMS Device and Network Management Service BIBBs /** @defgroup RDMS Device and Network Management Service BIBBs
* These device management BIBBs prescribe the BACnet capabilities required * These device management BIBBs prescribe the BACnet capabilities required
* to interoperably perform the device management functions enumerated in * to interoperably perform the device management functions enumerated in
* 22.2.1.5 for the BACnet devices defined therein. * 22.2.1.5 for the BACnet devices defined therein.
* *
* The network management BIBBs prescribe the BACnet capabilities required to * The network management BIBBs prescribe the BACnet capabilities required to
* interoperably perform network management functions. * interoperably perform network management functions.
*//** @defgroup DMDCC Device Management-Device Communication Control (DM-DCC) *//** @defgroup DMDCC Device Management-Device Communication Control (DM-DCC)
* @ingroup RDMS * @ingroup RDMS
* 16.1 DeviceCommunicationControl Service <br> * 16.1 DeviceCommunicationControl Service <br>
* The DeviceCommunicationControl service is used by a client BACnet-user to * The DeviceCommunicationControl service is used by a client BACnet-user to
* instruct a remote device to stop initiating and optionally stop responding * instruct a remote device to stop initiating and optionally stop responding
* to all APDUs (except DeviceCommunicationControl or, if supported, * to all APDUs (except DeviceCommunicationControl or, if supported,
* ReinitializeDevice) on the communication network or internetwork for a * ReinitializeDevice) on the communication network or internetwork for a
* specified duration of time. This service is primarily used by a human operator * specified duration of time. This service is primarily used by a human operator
* for diagnostic purposes. A password may be required from the client * for diagnostic purposes. A password may be required from the client
* BACnet-user prior to executing the service. The time duration may be set to * BACnet-user prior to executing the service. The time duration may be set to
* "indefinite," meaning communication must be re-enabled by a * "indefinite," meaning communication must be re-enabled by a
* DeviceCommunicationControl or, if supported, ReinitializeDevice service, * DeviceCommunicationControl or, if supported, ReinitializeDevice service,
* not by time. * not by time.
*//** @defgroup NMRC Network Management-Router Configuration (NM-RC) *//** @defgroup NMRC Network Management-Router Configuration (NM-RC)
* @ingroup RDMS * @ingroup RDMS
* The A device may query and change the configuration of routers and * The A device may query and change the configuration of routers and
* half-routers. * half-routers.
* The B device responds to router management commands and must meet the * The B device responds to router management commands and must meet the
* requirements for BACnet Routers as stated in Clause 6. * requirements for BACnet Routers as stated in Clause 6.
* *
* 6.4 Network Layer Protocol Messages <br> * 6.4 Network Layer Protocol Messages <br>
* This subclause describes the format and purpose of the ten BACnet network * This subclause describes the format and purpose of the ten BACnet network
* layer protocol messages. These messages provide the basis for router * layer protocol messages. These messages provide the basis for router
* auto-configuration, router table maintenance, and network layer congestion * auto-configuration, router table maintenance, and network layer congestion
* control. * control.
*/ */
#endif #endif
+24 -34
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2008 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef DEBUG_H #ifndef DEBUG_H
#define DEBUG_H #define DEBUG_H
@@ -49,7 +39,7 @@ extern "C" {
#if DEBUG_ENABLED #if DEBUG_ENABLED
/* Nothing more here */ /* Nothing more here */
#else #else
/* If your compiler supports it, this is more compact: /* If your compiler supports it, this is more compact:
inline void debug_printf( inline void debug_printf(
const char *format, const char *format,
...) { ...) {
+23 -34
View File
@@ -1,37 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
USA. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
As a special exception, if other files instantiate templates or * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
use macros or inline functions from this file, or you compile *********************************************************************/
this file and link it with other works to produce a work based
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef DLMSTP_H #ifndef DLMSTP_H
#define DLMSTP_H #define DLMSTP_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef ETHERNET_H #ifndef ETHERNET_H
#define ETHERNET_H #define ETHERNET_H
+42 -53
View File
@@ -1,37 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2008 John Minack * Copyright (C) 2008 John Minack
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef BACNET_EVENT_H_ #ifndef BACNET_EVENT_H_
#define BACNET_EVENT_H_ #define BACNET_EVENT_H_
@@ -210,35 +199,35 @@ extern "C" {
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
/** @defgroup ALMEVNT Alarm and Event Management BIBBs /** @defgroup ALMEVNT Alarm and Event Management BIBBs
* These BIBBs prescribe the BACnet capabilities required to interoperably * These BIBBs prescribe the BACnet capabilities required to interoperably
* perform the alarm and event management functions enumerated in 22.2.1.2 * perform the alarm and event management functions enumerated in 22.2.1.2
* for the BACnet devices defined therein. * for the BACnet devices defined therein.
*//** @defgroup EVNOTFCN Alarm and Event-Notification (AE-N) *//** @defgroup EVNOTFCN Alarm and Event-Notification (AE-N)
* @ingroup ALMEVNT * @ingroup ALMEVNT
* 13.6 ConfirmedCOVNotification Service <br> * 13.6 ConfirmedCOVNotification Service <br>
* The ConfirmedCOVNotification service is used to notify subscribers about * The ConfirmedCOVNotification service is used to notify subscribers about
* changes that may have occurred to the properties of a particular object. * changes that may have occurred to the properties of a particular object.
* Subscriptions for COV notifications are made using the SubscribeCOV service * Subscriptions for COV notifications are made using the SubscribeCOV service
* or the SubscribeCOVProperty service. * or the SubscribeCOVProperty service.
* *
* 13.7 UnconfirmedCOVNotification Service <br> * 13.7 UnconfirmedCOVNotification Service <br>
* The UnconfirmedCOVNotification Service is used to notify subscribers about * The UnconfirmedCOVNotification Service is used to notify subscribers about
* changes that may have occurred to the properties of a particular object, * changes that may have occurred to the properties of a particular object,
* or to distribute object properties of wide interest (such as outside air * or to distribute object properties of wide interest (such as outside air
* conditions) to many devices simultaneously without a subscription. * conditions) to many devices simultaneously without a subscription.
* Subscriptions for COV notifications are made using the SubscribeCOV service. * Subscriptions for COV notifications are made using the SubscribeCOV service.
* For unsubscribed notifications, the algorithm for determining when to issue * For unsubscribed notifications, the algorithm for determining when to issue
* this service is a local matter and may be based on a change of value, * this service is a local matter and may be based on a change of value,
* periodic updating, or some other criteria. * periodic updating, or some other criteria.
*//** @defgroup ALMACK Alarm and Event-ACK (AE-ACK) *//** @defgroup ALMACK Alarm and Event-ACK (AE-ACK)
* @ingroup ALMEVNT * @ingroup ALMEVNT
* 13.5 AcknowledgeAlarm Service <br> * 13.5 AcknowledgeAlarm Service <br>
* In some systems a device may need to know that an operator has seen the alarm * In some systems a device may need to know that an operator has seen the alarm
* notification. The AcknowledgeAlarm service is used by a notification-client * notification. The AcknowledgeAlarm service is used by a notification-client
* to acknowledge that a human operator has seen and responded to an event * to acknowledge that a human operator has seen and responded to an event
* notification with 'AckRequired' = TRUE. Ensuring that the acknowledgment * notification with 'AckRequired' = TRUE. Ensuring that the acknowledgment
* actually comes from a person with appropriate authority is a local matter. * actually comes from a person with appropriate authority is a local matter.
* This service may be used in conjunction with either the * This service may be used in conjunction with either the
* ConfirmedEventNotification service or the UnconfirmedEventNotification service. * ConfirmedEventNotification service or the UnconfirmedEventNotification service.
*/ */
#endif /* BACNET_EVENT_H_ */ #endif /* BACNET_EVENT_H_ */
+25 -37
View File
@@ -1,37 +1,28 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2008 by Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
USA. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
As a special exception, if other files instantiate templates or * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
use macros or inline functions from this file, or you compile *********************************************************************/
this file and link it with other works to produce a work based #ifndef FIFO_H
on this file, this file does not by itself cause the resulting #define FIFO_H
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
/* Functional Description: Generic FIFO library for deeply /* Functional Description: Generic FIFO library for deeply
embedded system. See the unit tests for usage examples. embedded system. See the unit tests for usage examples.
@@ -39,9 +30,6 @@
This library is designed for use in Interrupt Service Routines This library is designed for use in Interrupt Service Routines
and so is declared as "static inline" */ and so is declared as "static inline" */
#ifndef FIFO_H
#define FIFO_H
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2006 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef FILENAME_H #ifndef FILENAME_H
#define FILENAME_H #define FILENAME_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2009 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef GETEVENT_H #ifndef GETEVENT_H
#define GETEVENT_H #define GETEVENT_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2004 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef IAM_H #ifndef IAM_H
#define IAM_H #define IAM_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2006 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef IHAVE_H #ifndef IHAVE_H
#define IHAVE_H #define IHAVE_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef INDTEXT_H #ifndef INDTEXT_H
#define INDTEXT_H #define INDTEXT_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2003 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef KEY_H #ifndef KEY_H
#define KEY_H #define KEY_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2003 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef KEYLIST_H #ifndef KEYLIST_H
#define KEYLIST_H #define KEYLIST_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2006 John Minack * Copyright (C) 2006 John Minack
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef LSO_H #ifndef LSO_H
#define LSO_H #define LSO_H
+25 -37
View File
@@ -1,43 +1,31 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 by Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
USA. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
As a special exception, if other files instantiate templates or * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
use macros or inline functions from this file, or you compile *********************************************************************/
this file and link it with other works to produce a work based
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
/* Functional Description: Memory copy function */
#ifndef MEMCOPY_H #ifndef MEMCOPY_H
#define MEMCOPY_H #define MEMCOPY_H
/* Functional Description: Memory copy function */
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
+23 -35
View File
@@ -1,38 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2004 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
USA. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
As a special exception, if other files instantiate templates or * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
use macros or inline functions from this file, or you compile *********************************************************************/
this file and link it with other works to produce a work based
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef MSTPDEF_H #ifndef MSTPDEF_H
#define MSTPDEF_H #define MSTPDEF_H
+23 -34
View File
@@ -1,37 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2007 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
USA. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
As a special exception, if other files instantiate templates or * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
use macros or inline functions from this file, or you compile *********************************************************************/
this file and link it with other works to produce a work based
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef MSTPTEXT_H #ifndef MSTPTEXT_H
#define MSTPTEXT_H #define MSTPTEXT_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef NPDU_H #ifndef NPDU_H
#define NPDU_H #define NPDU_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2008 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef OBJECTS_H #ifndef OBJECTS_H
#define OBJECTS_H #define OBJECTS_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2012 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef PROPLIST_H #ifndef PROPLIST_H
#define PROPLIST_H #define PROPLIST_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2009 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef PRIVATE_TRANSFER_H #ifndef PRIVATE_TRANSFER_H
#define PRIVATE_TRANSFER_H #define PRIVATE_TRANSFER_H
+32 -42
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2006 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef REINITIALIZE_DEVICE_H #ifndef REINITIALIZE_DEVICE_H
#define REINITIALIZE_DEVICE_H #define REINITIALIZE_DEVICE_H
@@ -86,15 +76,15 @@ extern "C" {
/** @defgroup DMRD Device Management-ReinitializeDevice (DM-RD) /** @defgroup DMRD Device Management-ReinitializeDevice (DM-RD)
* @ingroup RDMS * @ingroup RDMS
* 16.4 ReinitializeDevice Service <br> * 16.4 ReinitializeDevice Service <br>
* The ReinitializeDevice service is used by a client BACnet-user to instruct * The ReinitializeDevice service is used by a client BACnet-user to instruct
* a remote device to reboot itself (cold start), reset itself to some * a remote device to reboot itself (cold start), reset itself to some
* predefined initial state (warm start), or to control the backup or restore * predefined initial state (warm start), or to control the backup or restore
* procedure. Resetting or rebooting a device is primarily initiated by a human * procedure. Resetting or rebooting a device is primarily initiated by a human
* operator for diagnostic purposes. Use of this service during the backup or * operator for diagnostic purposes. Use of this service during the backup or
* restore procedure is usually initiated on behalf of the user by the device * restore procedure is usually initiated on behalf of the user by the device
* controlling the backup or restore. Due to the sensitive nature of this * controlling the backup or restore. Due to the sensitive nature of this
* service, a password may be required from the responding BACnet-user prior * service, a password may be required from the responding BACnet-user prior
* to executing the service. * to executing the service.
* *
*/ */
#endif #endif
+31 -41
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2009 Peter Mc Shane * Copyright (C) 2009 Peter Mc Shane
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef READRANGE_H #ifndef READRANGE_H
#define READRANGE_H #define READRANGE_H
@@ -84,12 +74,12 @@ extern "C" {
/** Defines for ReadRange packet overheads to allow us to determine how /** Defines for ReadRange packet overheads to allow us to determine how
* much space is left for actual payload: * much space is left for actual payload:
* *
* Overhead is comprised of: * Overhead is comprised of:
* - 1. PDU Type + invoke ID + service type = 3 bytes * - 1. PDU Type + invoke ID + service type = 3 bytes
* - 2. Object ID = 5 bytes * - 2. Object ID = 5 bytes
* - 3. Object Property = 2 bytes if property is 0-255, 3 if property is * - 3. Object Property = 2 bytes if property is 0-255, 3 if property is
* 256-65535 theoretical max of 5 bytes but how likely is that? * 256-65535 theoretical max of 5 bytes but how likely is that?
* - 4. Optional array index = 2 bytes if index is 0-255, 3 if index is * - 4. Optional array index = 2 bytes if index is 0-255, 3 if index is
* 256-65535 theoretical max of 5 bytes but how likely is that? * 256-65535 theoretical max of 5 bytes but how likely is that?
* - 5. Flags = 3 bytes * - 5. Flags = 3 bytes
* - 6. Opening and closing tag for data = 2 bytes * - 6. Opening and closing tag for data = 2 bytes
@@ -131,7 +121,7 @@ extern "C" {
/** Function template for ReadRange information retrieval function. /** Function template for ReadRange information retrieval function.
* A function template; @see device.c for assignment to object types. * A function template; @see device.c for assignment to object types.
* @ingroup ObjHelpers * @ingroup ObjHelpers
* @param pRequest [in] Info on the request. * @param pRequest [in] Info on the request.
* @param pInfo [out] Where to write the response to. * @param pInfo [out] Where to write the response to.
* @return True on success, False on error or failure. * @return True on success, False on error or failure.
@@ -169,15 +159,15 @@ extern "C" {
} }
#endif /* __cplusplus */ #endif /* __cplusplus */
/** @defgroup Trend Trending BIBBs /** @defgroup Trend Trending BIBBs
* These BIBBs prescribe the BACnet capabilities required to interoperably * These BIBBs prescribe the BACnet capabilities required to interoperably
* perform the trending functions enumerated in clause 22.2.1.4 for the * perform the trending functions enumerated in clause 22.2.1.4 for the
* BACnet devices defined therein. * BACnet devices defined therein.
*//** @defgroup TrendReadRange Trending -Read Range Service (eg, in T-VMT) *//** @defgroup TrendReadRange Trending -Read Range Service (eg, in T-VMT)
* @ingroup Trend * @ingroup Trend
* 15.8 ReadRange Service <br> * 15.8 ReadRange Service <br>
* The ReadRange service is used by a client BACnet-user to read a specific * The ReadRange service is used by a client BACnet-user to read a specific
* range of data items representing a subset of data available within a * range of data items representing a subset of data available within a
* specified object property. * specified object property.
* The service may be used with any list or array of lists property. * The service may be used with any list or array of lists property.
*/ */
#endif #endif
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef REJECT_H #ifndef REJECT_H
#define REJECT_H #define REJECT_H
+25 -37
View File
@@ -1,44 +1,32 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2004 by Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
USA. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
As a special exception, if other files instantiate templates or * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
use macros or inline functions from this file, or you compile *********************************************************************/
this file and link it with other works to produce a work based #ifndef RINGBUF_H
on this file, this file does not by itself cause the resulting #define RINGBUF_H
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
/* Functional Description: Generic ring buffer library for deeply /* Functional Description: Generic ring buffer library for deeply
embedded system. See the unit tests for usage examples. */ embedded system. See the unit tests for usage examples. */
#ifndef RINGBUF_H
#define RINGBUF_H
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef READPROPERTY_H #ifndef READPROPERTY_H
#define READPROPERTY_H #define READPROPERTY_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef RPM_H #ifndef RPM_H
#define RPM_H #define RPM_H
+25 -37
View File
@@ -1,44 +1,32 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 by Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
USA. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
As a special exception, if other files instantiate templates or * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
use macros or inline functions from this file, or you compile *********************************************************************/
this file and link it with other works to produce a work based #ifndef SBUF_H
on this file, this file does not by itself cause the resulting #define SBUF_H
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
/* Functional Description: Static buffer library for deeply /* Functional Description: Static buffer library for deeply
embedded system. See the unit tests for usage examples. */ embedded system. See the unit tests for usage examples. */
#ifndef SBUF_H
#define SBUF_H
#include <stdint.h> #include <stdint.h>
#include <stdbool.h> #include <stdbool.h>
+23 -34
View File
@@ -1,37 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2008 John Minack * Copyright (C) 2008 John Minack
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef _TIMESTAMP_H_ #ifndef _TIMESTAMP_H_
#define _TIMESTAMP_H_ #define _TIMESTAMP_H_
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2006 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef TIMESYNC_H #ifndef TIMESYNC_H
#define TIMESYNC_H #define TIMESYNC_H
+24 -34
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef TSM_H #ifndef TSM_H
#define TSM_H #define TSM_H
@@ -40,7 +30,7 @@
#include "bacdef.h" #include "bacdef.h"
#include "npdu.h" #include "npdu.h"
/* note: TSM functionality is optional - only needed if we are /* note: TSM functionality is optional - only needed if we are
doing client requests */ doing client requests */
#if (!MAX_TSM_TRANSACTIONS) #if (!MAX_TSM_TRANSACTIONS)
#define tsm_free_invoke_id(x) (void)x; #define tsm_free_invoke_id(x) (void)x;
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2007-2010 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef VERSION_H #ifndef VERSION_H
#define VERSION_H #define VERSION_H
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2006 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef WHOHAS_H #ifndef WHOHAS_H
#define WHOHAS_H #define WHOHAS_H
+36 -46
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef WHOIS_H #ifndef WHOIS_H
#define WHOIS_H #define WHOIS_H
@@ -70,20 +60,20 @@ extern "C" {
/** @defgroup DMDDB Device Management-Dynamic Device Binding (DM-DDB) /** @defgroup DMDDB Device Management-Dynamic Device Binding (DM-DDB)
* @ingroup RDMS * @ingroup RDMS
* 16.10 Who-Is and I-Am Services <br> * 16.10 Who-Is and I-Am Services <br>
* The Who-Is service is used by a sending BACnet-user to determine the device * The Who-Is service is used by a sending BACnet-user to determine the device
* object identifier, the network address, or both, of other BACnet devices * object identifier, the network address, or both, of other BACnet devices
* that share the same internetwork. * that share the same internetwork.
* The Who-Is service is an unconfirmed service. The Who-Is service may be used * The Who-Is service is an unconfirmed service. The Who-Is service may be used
* to determine the device object identifier and network addresses of all devices * to determine the device object identifier and network addresses of all devices
* on the network, or to determine the network address of a specific device whose * on the network, or to determine the network address of a specific device whose
* device object identifier is known, but whose address is not. <br> * device object identifier is known, but whose address is not. <br>
* The I-Am service is also an unconfirmed service. The I-Am service is used to * The I-Am service is also an unconfirmed service. The I-Am service is used to
* respond to Who-Is service requests. However, the I-Am service request may be * respond to Who-Is service requests. However, the I-Am service request may be
* issued at any time. It does not need to be preceded by the receipt of a * issued at any time. It does not need to be preceded by the receipt of a
* Who-Is service request. In particular, a device may wish to broadcast an I-Am * Who-Is service request. In particular, a device may wish to broadcast an I-Am
* service request when it powers up. The network address is derived either * service request when it powers up. The network address is derived either
* from the MAC address associated with the I-Am service request, if the device * from the MAC address associated with the I-Am service request, if the device
* issuing the request is on the local network, or from the NPCI if the device * issuing the request is on the local network, or from the NPCI if the device
* is on a remote network. * is on a remote network.
*/ */
#endif #endif
+23 -33
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2005 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef WRITEPROPERTY_H #ifndef WRITEPROPERTY_H
#define WRITEPROPERTY_H #define WRITEPROPERTY_H
+25 -35
View File
@@ -1,36 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2007 Steve Karg * Copyright (C) 2012 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307, USA. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
As a special exception, if other files instantiate templates or * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
use macros or inline functions from this file, or you compile * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
this file and link it with other works to produce a work based *********************************************************************/
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef IAR2GCC_H #ifndef IAR2GCC_H
#define IAR2GCC_H #define IAR2GCC_H
@@ -280,8 +270,8 @@ typedef struct {
#endif #endif
#elif defined (__CROSSWORKS_AVR) #elif defined (__CROSSWORKS_AVR)
/* use functions defined in crt0.s to mimic IAR macros */ /* use functions defined in crt0.s to mimic IAR macros */
void __uint8_eeprom_store(unsigned char byte, unsigned addr); void __uint8_eeprom_store(unsigned char byte, unsigned addr);
unsigned char __uint8_eeprom_load(unsigned addr); unsigned char __uint8_eeprom_load(unsigned addr);
#define __EEPUT(addr, var) \ #define __EEPUT(addr, var) \
__uint8_eeprom_store((unsigned char)(var), (unsigned)(addr)) __uint8_eeprom_store((unsigned char)(var), (unsigned)(addr))
#define __EEGET(var, addr) \ #define __EEGET(var, addr) \
+23 -35
View File
@@ -1,38 +1,26 @@
/*####COPYRIGHTBEGIN#### /**************************************************************************
------------------------------------------- *
Copyright (C) 2004 Steve Karg * Copyright (C) 2009 Steve Karg <skarg@users.sourceforge.net>
*
This program is free software; you can redistribute it and/or * Permission is hereby granted, free of charge, to any person obtaining
modify it under the terms of the GNU General Public License * a copy of this software and associated documentation files (the
as published by the Free Software Foundation; either version 2 * "Software"), to deal in the Software without restriction, including
of the License, or (at your option) any later version. * without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
This program is distributed in the hope that it will be useful, * permit persons to whom the Software is furnished to do so, subject to
but WITHOUT ANY WARRANTY; without even the implied warranty of * the following conditions:
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
GNU General Public License for more details. * The above copyright notice and this permission notice shall be included
* in all copies or substantial portions of the Software.
You should have received a copy of the GNU General Public License *
along with this program; if not, write to: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
The Free Software Foundation, Inc. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
59 Temple Place - Suite 330 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
Boston, MA 02111-1307 * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
USA. * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
As a special exception, if other files instantiate templates or * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
use macros or inline functions from this file, or you compile *********************************************************************/
this file and link it with other works to produce a work based
on this file, this file does not by itself cause the resulting
work to be covered by the GNU General Public License. However
the source code for this file must still be made available in
accordance with section (3) of the GNU General Public License.
This exception does not invalidate any other reasons why a work
based on this file might be covered by the GNU General Public
License.
-------------------------------------------
####COPYRIGHTEND####*/
#ifndef RS485_H #ifndef RS485_H
#define RS485_H #define RS485_H