"Fossies" - the Fresh Open Source Software Archive

Member "tin-2.4.3/libcanlock/include/canlock-private.h" (5 Jan 2018, 1809 Bytes) of package /linux/misc/tin-2.4.3.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "canlock-private.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * COPYRIGHT AND PERMISSION NOTICE
    3  *
    4  * Copyright (c) 2018 Michael Baeuerle
    5  *
    6  * All rights reserved.
    7  *
    8  * Permission is hereby granted, free of charge, to any person obtaining
    9  * a copy of this software and associated documentation files (the
   10  * "Software"), to deal in the Software without restriction, including
   11  * without limitation the rights to use, copy, modify, merge, publish,
   12  * distribute, and/or sell copies of the Software, and to permit persons
   13  * to whom the Software is furnished to do so, provided that the above
   14  * copyright notice(s) and this permission notice appear in all copies of
   15  * the Software and that both the above copyright notice(s) and this
   16  * permission notice appear in supporting documentation.
   17  *
   18  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
   19  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
   20  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
   21  * OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
   22  * HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY
   23  * SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER
   24  * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF
   25  * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
   26  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
   27  *
   28  * Except as contained in this notice, the name of a copyright holder
   29  * shall not be used in advertising or otherwise to promote the sale, use
   30  * or other dealings in this Software without prior written authorization
   31  * of the copyright holder.
   32  */
   33 
   34 #ifndef _CANLOCK_PRIVATE_H
   35 #define _CANLOCK_PRIVATE_H
   36 
   37 
   38 #include <stddef.h>
   39 
   40 extern int cl_clear_secret(void *sec, size_t sec_size, size_t buf_size);
   41 
   42 
   43 #endif  /* _CANLOCK_PRIVATE_H */
   44 
   45 /* EOF */