URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 1127 |
Rev 1244 |
Line 17... |
Line 17... |
|
|
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
|
|
|
#if HAVE_CONFIG_H
|
|
#include <config.h>
|
|
#endif
|
|
|
#define _GNU_SOURCE /* for strndup */
|
#define _GNU_SOURCE /* for strndup */
|
|
|
#include <stdio.h> /* perror */
|
#include <stdio.h> /* perror */
|
#include <stdlib.h> /* exit */
|
#include <stdlib.h> /* exit */
|
|
|
|
#if HAVE_MALLOC_H
|
#include <malloc.h> /* calloc, free */
|
#include <malloc.h> /* calloc, free */
|
|
#endif
|
|
|
#include <string.h> /* strndup, strcmp, strlen, strchr */
|
#include <string.h> /* strndup, strcmp, strlen, strchr */
|
#include <errno.h> /* errno */
|
#include <errno.h> /* errno */
|
|
|
|
#ifndef HAVE_STRNDUP
|
|
#include "extras/extras.h"
|
|
#endif
|
|
|
#include "channel.h"
|
#include "channel.h"
|
|
|
struct channel_factory
|
struct channel_factory
|
{
|
{
|
const char * name;
|
const char * name;
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.