repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
IXPControl/dockerfiles
irrdb.legacy/src/include/user.h
/* * $Id: user.h,v 1.1.1.1 2000/02/29 22:28:43 labovit Exp $ */ #ifndef _USER_H #define _USER_H #include <linked_list.h> #include <timer.h> #define UII_DEFAULT_PORT 5674 #define UII_OUTPUT_BUFFER_INIT_SIZE 256 #define UII_UNPREV 0 #define UII_INPUT 1 #define UII_NORMAL 2 #define...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/atomic_trans.c
<reponame>IXPControl/dockerfiles #include <sys/types.h> #include <sys/stat.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include "config_file.h" #include "irrd.h" /* The functions in this file support atomic transactions for irrd. * For each !us...!ue ...
IXPControl/dockerfiles
irrdb.legacy/src/lib/mrt/user_old.c
<reponame>IXPControl/dockerfiles<filename>irrdb.legacy/src/lib/mrt/user_old.c /* * $Id: user_old.c,v 1.2 2001/07/13 18:02:45 ljb Exp $ */ /* routines that will hopefully go away soon.... */ #include <netinet/in.h> #include <arpa/inet.h> #include <mrt.h> #include <user.h> char * uii_parse_line (char **line) { ...
IXPControl/dockerfiles
irrdb.legacy/src/include/defs.h
<reponame>IXPControl/dockerfiles /* * $Id: defs.h,v 1.2 2001/07/13 18:10:10 ljb Exp $ */ #ifndef _DEFS_H #define _DEFS_H /* need HAVE_U_TYPES */ #include "config.h" #ifdef HAVE_SYS_BITYPES_H #include <sys/bitypes.h> #endif /* HAVE_SYS_BITYPES_H */ #ifdef HAVE_INTTYPES_H #include <inttypes.h> #endif /* HAVE_INTTYPES_...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_check/prefix.c
<gh_stars>1-10 /* * $Id: prefix.c,v 1.3 2001/07/13 18:53:36 ljb Exp $ * originally Id: prefix.c,v 1.1 1998/07/08 15:29:03 dogcow Exp */ #include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <arpa/nameser.h> #include <resolv.h>...
IXPControl/dockerfiles
irrdb.legacy/src/programs/rps_dist/init_utils.c
#include <stdio.h> #include "rpsdist.h" #include <unistd.h> #include <sys/stat.h> #include <string.h> #include <sys/types.h> #include <arpa/inet.h> #include <dirent.h> #include <fcntl.h> #include <irrd_ops.h> #include <regex.h> #include <irr_defs.h> #include <strings.h> /* bzero */ #include <pgp.h> extern trace_t *def...
IXPControl/dockerfiles
irrdb.legacy/src/lib/mrt/reboot.c
<filename>irrdb.legacy/src/lib/mrt/reboot.c /* * $Id: reboot.c,v 1.2 2001/07/13 18:02:44 ljb Exp $ */ #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <mrt.h> int init_mrt_reboot (int argc, char *argv[]) { char tmp[BUFSIZE]; getcwd (tmp, BUFSIZE); MRT->cwd = strdup (tmp); MRT->a...
IXPControl/dockerfiles
irrdb.legacy/src/include/mrt_thread.h
<reponame>IXPControl/dockerfiles /* * $Id: mrt_thread.h,v 1.3 2001/08/09 20:02:49 ljb Exp $ */ #ifndef _MRT_THREAD_H #define _MRT_THREAD_H #include "config.h" #ifndef HAVE_LIBPTHREAD #include "pthread_fake.h" #else #ifdef HAVE_PTHREAD_H #include <pthread.h> #endif /* HAVE_PTHREAD_H */ #endif /* HAVE_LIBPTHREAD */ ...
IXPControl/dockerfiles
irrdb.legacy/src/include/schedule.h
/* * $Id: schedule.h,v 1.1.1.1 2000/02/29 22:28:43 labovit Exp $ */ #ifndef _SCHEDULE_H #define _SCHEDULE_H #include <trace.h> #include <mrt_thread.h> typedef void (*event_fn_t)(); typedef struct _event_t { char *description; event_fn_t call_fn; int narg; void **args; int *ret; pthread_mutex_t...
IXPControl/dockerfiles
irrdb.legacy/src/include/trace2.h
/* * $Id: trace2.h,v 1.2 2002/10/17 19:41:45 ljb Exp $ */ #ifndef _TRACE_H #define _TRACE_H #include <sys/types.h> #ifndef TRUE #define TRUE 1 #endif #ifndef FALSE #define FALSE 0 #endif /* logging/error conditions */ #define TR_FATAL 0x0001 /* fatal error -- die after receiving */ #define TR_ERROR 0x0002 /* no...
IXPControl/dockerfiles
irrdb.legacy/src/lib/mrt/compat.c
/* * $Id: compat.c,v 1.5 2001/07/13 18:02:41 ljb Exp $ */ #include <sys/types.h> #include <string.h> #include <sys/errno.h> #include <sys/socket.h> #include <sys/time.h> #include <sys/stat.h> #include "mrt.h" #ifndef HAVE_MEMMOVE char * memmove (char *dest, const char *src, size_t n) { if (n <= 0 || dest == sr...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_check/util.c
#include <stdio.h> #include <sys/types.h> #include <stdarg.h> #include <regex.h> #include <string.h> #include <stdlib.h> #include <ctype.h> #include <unistd.h> #include <dirent.h> #include <errno.h> #include <irr_rpsl_check.h> #include <irr_defs.h> extern int verbose; extern short attr_is_key[]; extern char *attr_na...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_submit/trans_list.c
<reponame>IXPControl/dockerfiles<gh_stars>1-10 #include <stdio.h> #include <string.h> #include <stdlib.h> #include <irrauth.h> void add_trans_obj (trace_t *tr, lookup_info_t *start, obj_lookup_t *obj) { obj->next = NULL; if (start->first == NULL) start->first = obj; else start->last->next = obj; star...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/mirrorstatus.c
<gh_stars>1-10 #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <time.h> #include "mrt.h" #include "trace.h" #include "irrd.h" #define GRM_BUFSIZE (10*1024) /* * mirrorstatus_buildquery: * * Builds the !j query that we're going to send to a remote ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/rpsl_commands.c
/* * $Id: rpsl_commands.c,v 1.10 2002/10/17 20:02:31 ljb Exp $ * originally Id: rpsl_commands.c,v 1.22 1998/07/31 15:42:39 gerald Exp */ #include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <string.h> #include <time.h> #include <signal.h> #include <ctype.h> #include <fcn...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/irrd.h
<filename>irrdb.legacy/src/programs/IRRd/irrd.h /* * $Id: irrd.h,v 1.30 2002/10/17 20:02:30 ljb Exp $ * originally Id: irrd.h,v 1.94 1998/08/03 17:29:07 gerald Exp */ #ifndef _IRRD_H #define _IRRD_H #include <radix.h> #include <dirent.h> #include <regex.h> #include <netinet/in.h> #include <arpa/inet.h> #include ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_submit/main.c
<filename>irrdb.legacy/src/programs/irr_rpsl_submit/main.c /* * $Id: main.c,v 1.9 2002/10/17 20:16:14 ljb Exp $ */ #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <regex.h> #include <stdlib.h> #include <errno.h> #include <string.h> #include <fcntl.h> #include <irrauth.h> #include <irr_rpsl_che...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/database.c
/* * $Id: database.c,v 1.17 2002/10/17 20:02:29 ljb Exp $ * originally Id: database.c,v 1.48 1998/07/30 20:48:29 labovit Exp */ #include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <time.h> #include <signal.h> #include <dirent.h> ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/telnet.c
<reponame>IXPControl/dockerfiles /* * $Id: telnet.c,v 1.23 2002/10/17 20:02:31 ljb Exp $ * originally Id: telnet.c,v 1.59 1998/08/03 17:29:10 gerald Exp */ #include <sys/types.h> #include <sys/socket.h> #ifndef SETPGRP_VOID #include <termios.h> #endif #include <netinet/in.h> #include <netinet/tcp.h> #include <arp...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_submit/synchkif.c
/* Copyright 1998, Merit Network, Inc. and the University of Michigan */ /* $Id: synchkif.c,v 1.3 2002/10/17 20:16:15 ljb Exp $ * originally Id: synchkif.c,v 1.1 1998/08/10 19:23:47 dogcow Exp */ #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <sys/stat.h> #include <fcntl.h> #include <string.h...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/mirror.c
/* * $Id: mirror.c,v 1.10 2002/10/17 20:02:31 ljb Exp $ * originally Id: mirror.c,v 1.26 1998/08/03 21:55:23 gerald Exp */ #include <stdio.h> #include <string.h> #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <time.h> #include <signal.h> #include <ctype.h> #include "mrt.h" #include "t...
IXPControl/dockerfiles
irrdb.legacy/src/programs/rps_dist/old_code.c
/*#include <stdio.h> #include "rpsdist.h" #include <unistd.h> #include <sys/stat.h> #include <string.h> #include <sys/types.h> #include <fcntl.h> #include <irrd_ops.h> extern trace_t *default_trace; extern char tmpfntmpl[]; FILE * dfile; extern FILE * ofile; extern config_info_t ci; void add_missing_dbs(){ regex_t ...
IXPControl/dockerfiles
irrdb.legacy/src/include/hdr_comm.h
<gh_stars>1-10 /* * $Id: hdr_comm.h,v 1.9 2002/10/17 19:41:44 ljb Exp $ */ #ifndef _HDR_COMM_H #define _HDR_COMM_H #include <stdio.h> #include <sys/types.h> #undef close #undef open #undef socket #include <read_conf.h> #define newline_remove(p) { char *_z = (p) + strlen((p)) - 1; \ if (*_z == '\n') \ ...
IXPControl/dockerfiles
irrdb.legacy/src/include/mrt.h
/* * $Id: mrt.h,v 1.7 2002/10/17 19:41:44 ljb Exp $ */ #ifndef _MRT_H #define _MRT_H #include <version.h> #include <config.h> #include <stdlib.h> #include <sys/types.h> #include <fcntl.h> #include <stdio.h> #ifdef __GNUC__ /* to avoid it defined in stdio.h */ #include <stdarg.h> #else #include <sys/varargs.h> #end...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/uii_commands.c
/* * $id: uii_commands.c,v 1.1.1.1 1998/08/10 20:06:56 dogcow Exp $ * originally Id: uii_commands.c,v 1.19 1998/06/15 16:20:36 gerald Exp */ #include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <time.h> #include <signal.h> #includ...
IXPControl/dockerfiles
irrdb.legacy/src/include/alist.h
/* * $Id: alist.h,v 1.2 2001/07/13 18:10:08 ljb Exp $ */ #ifndef _ALIST_H #define _ALIST_H #define MAX_ALIST 100 typedef struct _condition_t { int permit; /* just a flag */ prefix_t *prefix; /* all in case of null */ prefix_t *wildcard; /* may be null */ int exact; /* just a flag */ int refine; ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/rps_dist/journal.c
<reponame>IXPControl/dockerfiles<filename>irrdb.legacy/src/programs/rps_dist/journal.c #include <stdio.h> #include "rpsdist.h" #include <unistd.h> #include <sys/stat.h> #include <string.h> #include <sys/types.h> #include <dirent.h> #include <fcntl.h> #include <irrd_ops.h> extern trace_t *default_trace; extern config_i...
IXPControl/dockerfiles
irrdb.legacy/src/include/read_conf.h
#ifndef _READ_CONF_H #define _READ_CONF_H #include <trace2.h> typedef struct _source_t { char *source; /* source name, eg, RADB, ANS, ... */ int authoritative; /* are we authoritative for this source? */ char *host; /* mirroring host (if it is a mirror */ char *port; /* mirror p...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/irrd_util.c
/* * $Id: irrd_util.c,v 1.12 2002/10/17 20:02:30 ljb Exp $ * originally Id: util.c,v 1.51 1998/08/07 19:48:58 gerald Exp */ #include <sys/types.h> #include <sys/stat.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <mrt.h> #include <trace.h> #inc...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_notify/util.c
<filename>irrdb.legacy/src/programs/irr_notify/util.c /* * $Id: util.c,v 1.12 2001/08/28 17:29:20 gerald Exp $ */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <sys/types.h> #include <regex.h> #include <unistd.h> #include <irr_notify.h> #include <pgp.h> /* * Could have an email user or TCP ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/rps_dist/file_utils.c
<reponame>IXPControl/dockerfiles #include "rpsdist.h" #include <stdarg.h> #include <trace.h> #include <regex.h> #include <unistd.h> #include <strings.h> #include <irrd_ops.h> #include <sys/types.h> #include <dirent.h> #include <sys/stat.h> #include <string.h> #include <sys/time.h> extern trace_t * default_trace; /* ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/update.c
<reponame>IXPControl/dockerfiles /* * $Id: update.c,v 1.6 2002/10/17 20:02:32 ljb Exp $ * originally Id: update.c,v 1.46 1998/07/29 21:15:18 gerald Exp */ #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <string.h> #include <time.h> #include <signal.h> #include <fcntl.h> #include "mrt.h"...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/commands.c
/* * $Id: commands.c,v 1.39 2002/10/17 20:02:29 ljb Exp $ * originally Id: commands.c,v 1.101 1998/08/07 00:13:37 gerald Exp */ #include <sys/types.h> #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <time.h> #include <signal.h> #include <ctype.h> #...
IXPControl/dockerfiles
irrdb.legacy/src/lib/mrt/select.c
<filename>irrdb.legacy/src/lib/mrt/select.c /* * $Id: select.c,v 1.5 2001/07/13 18:02:44 ljb Exp $ */ #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <mrt.h> #include <irrdmem.h> Select_Struct *SELECT_MASTER; static void Destroy_Descriptor (Descriptor_Struct *dsp) { assert (dsp); ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/indicies.c
/* * $Id: indicies.c,v 1.4 2002/10/17 20:02:30 ljb Exp $ * originally Id: indicies.c,v 1.38 1998/08/07 19:07:46 labovit Exp */ /* routines for handling indicies in hashes */ #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <string.h> #include <time.h> #include <signal.h> #include <fcntl...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irrd_ops/irrd_ops.c
<gh_stars>1-10 #include <stdio.h> #include <string.h> #include <errno.h> #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #include <unistd.h> #include <stdlib.h> #include <regex.h> #include <sys/time.h> /* needed for Linux */ #include <irrd_ops.h> #includ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_notify/main.c
#include <stdio.h> #include <unistd.h> #include <string.h> #include <stdlib.h> #include <irr_notify.h> /* Global var's */ int DAEMON_FLAG = 0; config_info_t ci; trace_t *default_trace; int main (int argc, char *argv[]) { int errors, c; char *usage = "Usage: %s [-dfrt] [filename]\n -d run in daemon mode\n -f s...
IXPControl/dockerfiles
irrdb.legacy/src/include/irrauth.h
<filename>irrdb.legacy/src/include/irrauth.h /* * $Id: irrauth.h,v 1.11 2002/10/17 19:41:44 ljb Exp $ */ #ifndef _IRR_AUTH_H #define _IRR_AUTH_H #include <pipeline_defs.h> #include <config.h> #define MAXLEN 2047 /* Max transaction log file size and seperator */ #define MAX_LOG_FILE_SIZE 4096000 #define TRANS_SEP...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_util/crypt_gen.c
<reponame>IXPControl/dockerfiles #include <stdio.h> #include <sys/types.h> #include <sys/types.h> #include <unistd.h> main (int argc, char *argv[]) { char *encrypted, cleartxt[256], salt[5]; char *usage = "Usage: %s [-s] cleartext password\n -s <salt> (default 'pf;tn;')\n"; char *name = argv[0], c; int errors...
IXPControl/dockerfiles
irrdb.legacy/src/lib/mrt/prefix.c
<gh_stars>1-10 /* * $Id: prefix.c,v 1.4 2001/08/30 18:10:31 ljb Exp $ */ #include <netinet/in.h> #include <arpa/inet.h> #include <mrt.h> #include <netdb.h> #include <irrdmem.h> #if !defined(__GLIBC__) && defined(__linux__) #ifdef __osf__ /* apparently, OSF's gethostby{name,addr}_r's are different, broken, and ...
IXPControl/dockerfiles
irrdb.legacy/src/include/pgp.h
<gh_stars>1-10 #ifndef _IRR_PGP_H #define _IRR_PGP_H #include <config.h> enum KEY_TYPE { UNKNOWN_KT = 0, RSA, DSS }; enum PGP_OP_TYPE { PGP_DEL, PGP_ADD, PGP_FINGERPR, PGP_VERIFY_REGULAR, PGP_VERIFY_DETACHED, PGP_SIGN_REGULAR, PGP_SIGN_DETACHED }; typedef struct _char_list_t { char *key; str...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/route.c
<filename>irrdb.legacy/src/programs/IRRd/route.c<gh_stars>1-10 /* * $Id: route.c,v 1.5 2002/10/17 20:02:31 ljb Exp $ * originally Id: route.c,v 1.9 1998/05/28 21:25:31 dogcow Exp */ /* routines for dealing with prefixes based objects */ #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <...
IXPControl/dockerfiles
irrdb.legacy/src/programs/rps_dist/utils.c
#include "rpsdist.h" #include <stdarg.h> #include <trace.h> #include <regex.h> #include <unistd.h> #include <strings.h> #include <irrd_ops.h> #include <sys/time.h> #include <sys/types.h> #include <string.h> #include <netdb.h> #include <arpa/inet.h> /* inet_addr */ extern trace_t * default_trace; extern config_info_t c...
IXPControl/dockerfiles
irrdb.legacy/src/programs/atomic_ops/atomic_ops.c
#include <stdio.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h> #include <unistd.h> #ifndef NT #include <dirent.h> #endif /* NT */ #include <errno.h> #include <atomic_ops.h> #include <pipeline_defs.h> /* Solaris 2.5.1 lacks prototype for utimes() */ #if defined(HAVE_DECL_UTIM...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/scan.c
/* * $Id: scan.c,v 1.26 2002/10/17 20:02:31 ljb Exp $ * originally Id: scan.c,v 1.87 1998/07/29 21:15:17 gerald Exp */ /* The routines in this file scan/parse the datase.db files */ #include <stdio.h> #include <string.h> #include <ctype.h> #include <unistd.h> #include <time.h> #include <signal.h> #include <fcntl...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/statusfile.c
<gh_stars>1-10 /************************************************************************ *** Statusfiles intentionally look like the old Windows ini file *** *** format. The right thing to do if this functionality is ported *** *** to Windows is to replace most of this code with a wrapper to the *** *** appr...
IXPControl/dockerfiles
irrdb.legacy/src/include/config_file.h
<reponame>IXPControl/dockerfiles<gh_stars>1-10 /* * $Id: config_file.h,v 1.2 2001/07/13 18:10:10 ljb Exp $ */ #ifndef _LCONFIG_H #define _LCONFIG_H #include <mrt.h> #ifndef MAXHOSTNAMELEN #define MAXHOSTNAMELEN 256 #endif typedef struct _config_module_t { char *name; void_fn_t call_fn; void *arg; u_long ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/rps_dist/mirror_update.c
<reponame>IXPControl/dockerfiles #include "rpsdist.h" #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <pgp.h> #include <unistd.h> #include <irrd_ops.h> #include <arpa/inet.h> #include <sys/time.h> extern trace_t * default_trace; extern struct select_master_t mirror_floods; extern pthread_mute...
IXPControl/dockerfiles
irrdb.legacy/src/include/pthread_fake.h
<reponame>IXPControl/dockerfiles<filename>irrdb.legacy/src/include/pthread_fake.h /* * $Id: pthread_fake.h,v 1.1.1.1 2000/02/29 22:28:43 labovit Exp $ */ /* This is a compatability include file for systems that DO NOT * has kernel pthreads or which are NOT using MIT pthreads library * This file just defines pthr...
IXPControl/dockerfiles
irrdb.legacy/src/include/irr_notify.h
/* * $Id: irr_notify.h,v 1.8 2002/10/17 19:41:44 ljb Exp $ */ #ifndef _IRR_NOTIFY_H #define _IRR_NOTIFY_H #include <stdio.h> #include <sys/types.h> #include <hdr_comm.h> #include <config.h> #include <pipeline_defs.h> /* RFC 2769 RPS-DIST: offset from UTC, used in creating timestamps */ #define UTC_OFFSET "+04:00" ...
IXPControl/dockerfiles
irrdb.legacy/src/lib/mrt/trace.c
<reponame>IXPControl/dockerfiles<gh_stars>1-10 /* * $Id: trace.c,v 1.9 2002/02/04 20:33:03 ljb Exp $ */ #include <netinet/in.h> #include <arpa/inet.h> #include <unistd.h> #include <mrt.h> #define _VARARGS_H /* for solaris */ #include <syslog.h> #include <sys/stat.h> #include "timer.h" #include <irrdmem.h> #define ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_submit/auth.c
/* * $Id: auth.c,v 1.9 2002/10/17 20:16:13 ljb Exp $ */ #include <stdio.h> #include <string.h> #include <unistd.h> #include <errno.h> #include <sys/types.h> #include <sys/stat.h> #include <stdlib.h> #include <ctype.h> #ifdef HAVE_CRYPT_H #include <crypt.h> #endif #include <irrauth.h> extern config_info_t ci; #ifnd...
IXPControl/dockerfiles
irrdb.legacy/src/include/version.h
/* * $Id: version.h,v 1.17 2002/10/18 04:31:36 ljb Exp $ */ #undef IRRD_VERSION /* define the IRRD version number */ #define IRRD_VERSION VERSION
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_check/syntax_attrs.c
/* * $Id: syntax_attrs.c,v 1.21 2002/10/17 20:22:10 ljb Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <errno.h> #include <limits.h> #include <sys/types.h> #include <unistd.h> #include <regex.h> #include <sys/socket.h> #include <sys/stat.h> #include <time.h> #include <irr_rpsl_check.h>...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_check/canonical.c
<filename>irrdb.legacy/src/programs/irr_rpsl_check/canonical.c /* * $Id: canonical.c,v 1.10 2002/10/17 20:22:09 ljb Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stdarg.h> #include <unistd.h> #include <errno.h> #include <irr_rpsl_check.h> extern short legal_attrs[MAX_OBJS][MAX_ATTR...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_submit/mailchk.c
<gh_stars>1-10 /* Copyright 1998, Merit Network, Inc. and the University of Michigan */ /* $Id: mailchk.c,v 1.6 2002/10/17 20:16:14 ljb Exp $ * originally Id: mailchk.c,v 1.2 1998/08/10 19:24:23 dogcow Exp */ #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <sys/stat.h> #include <fcntl.h> #incl...
IXPControl/dockerfiles
irrdb.legacy/src/include/irrd_ops.h
<reponame>IXPControl/dockerfiles<gh_stars>1-10 #ifndef _IRRD_OPS_H #define _IRRD_OPS_H //#include <sys/socket.h> #include <trace2.h> #include <irr_notify.h> /* Do not change the ATTR_ID values */ enum ATTR_ID { X_ATTR = 0, NOTIFY_ATTR = 01, MNT_BY_ATTR = 02, UPD_TO_ATTR = 04, MNT_NFY_ATTR = 010,...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_check/main.c
/* * $Id: main.c,v 1.6 2002/10/17 20:22:09 ljb Exp $ * originally Id: main.c,v 1.6 1998/07/28 23:04:38 gerald Exp */ #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <string.h> #include <irr_rpsl_check.h> /* Global config file information struct * (See read_conf.c) */ config_info_t ci; exte...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/templates.c
<filename>irrdb.legacy/src/programs/IRRd/templates.c /* AUTOMATICALLY GENERATED - DO NOT EDIT - see ../irr_util/README */ #include "scan.h" char *obj_template[IRR_MAX_CLASS_KEYS] = { "aut-num: [mandatory] [single] [primary/look-up key]\n" "as-name: [mandatory] [single] [ ]\n" "descr: [man...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/scan.h
#ifndef _SCAN_H #define _SCAN_H #define whitespace_remove(p) {char *_z; \ while ((*(p) == ' ') || (*(p) == '\t')) (p)++; \ _z = (p) + strlen ((p)); \ while ((_z-- > (p)) && (*_z == ' ' || *_z == '\t' || *_z == '\n')) *_z = '\0';} #define whitespace_newline_remove(p) {int n; \ while ((*(p) == ' ') || (*(p) == '...
IXPControl/dockerfiles
irrdb.legacy/src/programs/rps_dist/update.c
#include <stdio.h> #include "rpsdist.h" #include <unistd.h> #include <sys/stat.h> #include <string.h> #include <sys/types.h> #include <fcntl.h> #include <irrd_ops.h> #include <errno.h> #include <arpa/inet.h> /* inet_ntoa */ extern trace_t *default_trace; extern char tmpfntmpl[]; FILE * dfile; extern FILE * ofile; /*...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_check/hdr_build.c
<reponame>IXPControl/dockerfiles /* * $Id: hdr_build.c,v 1.4 2001/07/13 18:53:35 ljb Exp $ */ /* * All the routines in this module are designed to * build the header information that is used in * the pipeline communication between modules. * * Header structure: * * ... fill in when completely specified */ ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/rps_dist/select.c
<gh_stars>1-10 #include <config.h> #include "rpsdist.h" #include <errno.h> #include <stdlib.h> #include <stdio.h> #ifdef HAVE_PTHREAD_H #include <pthread.h> #endif #include <unistd.h> #include <string.h> #include <strings.h> extern trace_t *default_trace; /* * Once initialized, this loops infintely looking for new c...
IXPControl/dockerfiles
irrdb.legacy/src/programs/hdr_comm/trace.c
/* * $Id: trace.c,v 1.4 2002/10/17 20:12:02 ljb Exp $ */ #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <stdarg.h> #include <sys/types.h> #include <ctype.h> #include <time.h> #include <sys/time.h> #include <sys/stat.h> #include <unistd.h> #include <syslog.h> #include <string.h> #include <ctype.h...
IXPControl/dockerfiles
irrdb.legacy/src/programs/rps_dist/compression_utils.c
#include "rpsdist.h" #include <stdarg.h> #include <trace.h> #include <regex.h> #include <unistd.h> #include <strings.h> #include <irrd_ops.h> extern trace_t * default_trace; /* XXX - Look into libgz/libgzip */ /* * Call gzip to zip transaction (needs a TIMER) */ void zip_file(char * inflnm){ int childpid; in...
IXPControl/dockerfiles
irrdb.legacy/src/include/linked_list.h
/*----------------------------------------------------------- * Name: linked_list.h * Created: Fri Apr 22 02:22:39 1994 * Author: <NAME> <<EMAIL>> * DESCR: generic linked list elements */ #ifndef _LINKED_LIST_H #define _LINKED_LIST_H #include <stdio.h> #include <irrdmem.h> /*#include <stdarg.h>*/ ...
IXPControl/dockerfiles
irrdb.legacy/src/lib/struct/linked_list.c
/*----------------------------------------------------------- * Name: linked_list.c * Created: Fri Apr 22 02:31:08 1994 * Author: <NAME> <<EMAIL>> * DESCR: generic linked list code */ #include <stdarg.h> #include <linked_list.h> #include <sys/types.h> #include <defs.h> #include <irrdmem.h> /***********...
IXPControl/dockerfiles
irrdb.legacy/src/programs/pgp/gpg/gpg.c
#include <stdio.h> #include <string.h> #include <sys/types.h> #include <unistd.h> #include <regex.h> #include <stdlib.h> #include <errno.h> #include <sys/wait.h> #include <hdr_comm.h> #include <pipeline_defs.h> #include <pgp.h> /* JW:!!!!!: these routines are not transaction compliant and need to be udpated later. ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/irr_rpsl_submit/util.c
<gh_stars>1-10 /* Copyright 1998, Merit Network, Inc. and the University of Michigan */ /* $Id: util.c,v 1.3 2002/10/17 20:16:15 ljb Exp $ * originally Id: util.c,v 1.3 1998/08/10 19:24:24 dogcow Exp */ #include <stdio.h> #include <sys/types.h> #include <unistd.h> #include <sys/stat.h> #include <sys/file.h> #include...
IXPControl/dockerfiles
irrdb.legacy/src/programs/hdr_comm/hdr_fields.c
/* * $Id: hdr_fields.c,v 1.7 2002/10/17 20:12:01 ljb Exp $ */ #include "hdr_comm.h" /* leave blank space after HDR-START:, overwritten * by irr_notify () to indicate if transaction * succeeded or failed. */ const char HDR_START[] = "HDR-START: "; const char HDR_END[] = "HDR-END:"; /* irr_check */ c...
IXPControl/dockerfiles
irrdb.legacy/src/lib/mrt/schedule.c
<reponame>IXPControl/dockerfiles /* * $Id: schedule.c,v 1.2 2001/08/06 17:01:50 ljb Exp $ */ #include <netinet/in.h> #include <arpa/inet.h> #include <mrt.h> #include <irrdmem.h> schedule_master_t *SCHEDULE_MASTER; /* #define MRT_DEBUG 1 */ int init_schedules (trace_t *tr) { assert (SCHEDULE_MASTER == NULL); ...
IXPControl/dockerfiles
irrdb.legacy/src/programs/rps_dist/rpsdist.h
#ifndef _RPS_H_ #define _RPS_H_ #include <config.h> #include <stdlib.h> #include <stdio.h> #include <stdarg.h> #include <trace.h> #include <mrt_thread.h> #include <regex.h> #include <read_conf.h> /* read_irrd_conf file */ #include <hdr_comm.h> /* for MAXLINE */ #define IRR_FILE_...
IXPControl/dockerfiles
irrdb.legacy/src/programs/IRRd/hash_spec.c
<filename>irrdb.legacy/src/programs/IRRd/hash_spec.c /* * $Id: hash_spec.c,v 1.4 2002/10/17 20:02:30 ljb Exp $ * originally Id: hash_spec.c,v 1.14 1998/07/20 01:22:03 labovit Exp */ /* routines for handling special indicies in hashes */ #include <netinet/in.h> #include <arpa/inet.h> #include <stdio.h> #include <...
aaadonai/NewsReader
NewsReader/Utils.h
<reponame>aaadonai/NewsReader // // Utils.h // NewsReader // // Created by <NAME> on 29/03/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @interface Utils : NSObject + (CGSize)getLabelSize:(UILabel *)label withConstrainedWidth:(CGFloat) constrainedWidth;...
aaadonai/NewsReader
NewsReader/ParseOperation.h
<reponame>aaadonai/NewsReader // // ParseOperation.h // NewsReader // // Created by <NAME> on 28/03/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> typedef void (^HandlerBlock)(NSArray *, NSString *name); typedef void (^ErrorBlock)(NSError *); @class NewsRecord; @inte...
aaadonai/NewsReader
NewsReader/ImageDownloader.h
<gh_stars>0 // // ImageDownloader.h // NewsReader // // Created by <NAME> on 28/03/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> #define kImageHeight 60 #define kImageWidth 90 @class NewsRecord; @class NewsReaderViewController; @protocol ImageDownloaderDelegate; @i...
aaadonai/NewsReader
NewsReader/Common.h
// // Common.h // NewsReader // // Created by <NAME> on 29/03/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #ifndef NewsReader_Common_h #define NewsReader_Common_h #define kDarkBlue [UIColor colorWithRed:51.0f/255.0f green:102.0f/255.0f blue:153.0f/255.0f alpha:1.0f]; #endif
aaadonai/NewsReader
NewsReader/NewsRecord.h
// // NewsRecord.h // NewsReader // // Created by <NAME> on 28/03/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <Foundation/Foundation.h> @interface NewsRecord : NSObject { NSString *newsHeadline; NSString *slugLine; UIImage *newsImage; NSString *dateLine; NSString *thumbna...
aaadonai/NewsReader
NewsReader/WebContentViewController.h
// // WebContentViewController.h // NewsReader // // Created by <NAME> on 28/03/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @class NewsRecord; @interface WebContentViewController : UIViewController @property (nonatomic,retain) NewsRecord *newsRecord; - (id)initWithNewsReco...
aaadonai/NewsReader
NewsReader/NewsReaderViewController.h
<reponame>aaadonai/NewsReader<gh_stars>0 // // NewsReaderViewController.h // NewsReader // // Created by <NAME> on 28/03/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import "ParseOperation.h" #import "NewsRecord.h" #import "ImageDownloader.h" #import <QuartzCore/QuartzCore.h> ...
aaadonai/NewsReader
NewsReader/AppDelegate.h
<filename>NewsReader/AppDelegate.h // // AppDelegate.h // NewsReader // // Created by <NAME> on 28/03/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @class NewsReaderViewController; @interface AppDelegate : UIResponder <UIApplicationDelegate> @property (nonatomic, retain) UIWi...
aaadonai/NewsReader
NewsReader/NewsFeedCell.h
<gh_stars>0 // // NewsFeedCell.h // NewsReader // // Created by <NAME> on 28/03/13. // Copyright (c) 2013 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> #import <QuartzCore/QuartzCore.h> #import "ImageDownloader.h" #define kCellPadding 10.0f #define kFooterCellPadding 5.0f #define kCellPaddingLeft 5.0f /...
plimkilde/DHMQC
src/etc/grid_stuff.c
/* * Copyright (c) 2015, Danish Geodata Agency <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" ...
plimkilde/DHMQC
src/triangle/trig_index.h
<filename>src/triangle/trig_index.h /* * Copyright (c) 2015, Danish Geodata Agency <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * ...
plimkilde/DHMQC
src/geometry/array_geometry.h
<gh_stars>1-10 /* * Copyright (c) 2015, Danish Geodata Agency <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PR...
plimkilde/DHMQC
src/geometry/array_geometry.c
/* * Copyright (c) 2015, Danish Geodata Agency <<EMAIL>> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" ...
0x0o/ACRefreshHeader
ACRefreshHeaderDemo/ACRefreshHeaderDemo/ViewController.h
<reponame>0x0o/ACRefreshHeader // // ViewController.h // ACRefreshHeaderDemo // // Created by 0x0 on 2017/3/21. // Copyright © 2017年 0x0. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UITableViewController @end
0x0o/ACRefreshHeader
ACRefreshHeaderDemo/ACRefreshHeaderDemo/ACRefreshHeader/ACRefreshHeader.h
<reponame>0x0o/ACRefreshHeader // // ACRefreshHeader.h // ProjectDemo // // Created by 0x0 on 2017/3/16. // Copyright © 2017年 0x0. All rights reserved. // #import <UIKit/UIKit.h> typedef void (^ACRefreshingBlock)(); @interface ACRefreshHeader : UIView - (instancetype)initWithScrollView:(UIScrollView *)scrollView;...
skordal/databases
driver-support/sqlite.c
// Databases - A simple database library for Ada applications // (c) <NAME> 2019 <<EMAIL>> // Report bugs and issues on <https://github.com/skordal/databases/issues> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sqlite3.h> //#define PRINT_STATUS_CODES #ifdef PRINT_STATUS_CODES #define PRINT_ST...
JiaoLiu/CHJSWebViewLib
Products/CHJSWebViewLib.framework/Headers/CHJSWebView.h
<filename>Products/CHJSWebViewLib.framework/Headers/CHJSWebView.h // // CHJSWebView.h // Test // // Created by <NAME> on 4/1/15. // Copyright (c) 2015 <NAME>. All rights reserved. // /*! The MIT License (MIT) Copyright (c) 2015 Jiao Permission is hereby granted, free of charge, to any person obtaining a copy...
JiaoLiu/CHJSWebViewLib
Demo/CHJSWebDemo/CHJSWebDemo/ViewController.h
// // ViewController.h // CHJSWebDemo // // Created by <NAME> on 4/27/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> @interface ViewController : UIViewController @end
JiaoLiu/CHJSWebViewLib
CHJSWebViewLib/CHJSWebViewLib.h
// // CHJSWebViewLib.h // CHJSWebViewLib // // Created by <NAME> on 4/3/15. // Copyright (c) 2015 <NAME>. All rights reserved. // #import <UIKit/UIKit.h> //! Project version number for CHJSWebViewLib. FOUNDATION_EXPORT double CHJSWebViewLibVersionNumber; //! Project version string for CHJSWebViewLib. FOUNDATION_...
JiaoLiu/CHJSWebViewLib
Products/CHJSWebViewLib.framework/Headers/CHJSWebViewDelegate.h
<reponame>JiaoLiu/CHJSWebViewLib<gh_stars>1-10 // // CHJSWebViewDelegate.h // Test // // Created by <NAME> on 4/1/15. // Copyright (c) 2015 <NAME>. All rights reserved. // /*! The MIT License (MIT) Copyright (c) 2015 Jiao Permission is hereby granted, free of charge, to any person obtaining a copy of this s...
fermi-lat/CalibData
CalibData/Acd/AcdVeto.h
<gh_stars>0 // $Header: /nfs/slac/g/glast/ground/cvs/CalibData/CalibData/Acd/AcdVeto.h,v 1.3 2007/10/09 18:15:21 echarles Exp $ #ifndef CalibData_AcdVeto_h #define CalibData_AcdVeto_h #include "CalibData/Acd/AcdCalibObj.h" #include "CalibData/CalibModel.h" #include "CalibData/Acd/AcdCalibEnum.h" namespace CalibData {...
fermi-lat/CalibData
src/Anc/AncFinder.h
<reponame>fermi-lat/CalibData //$Header: /nfs/slac/g/glast/ground/cvs/CalibData/src/Anc/AncFinder.h,v 1.1 2006/06/28 23:51:33 jrb Exp $ #ifndef CalibData_AncFinder_h #define CalibData_AncFinder_h /** @class AncFinder Utility class which knows how to find the index of the correct set of Anc calibration constants...
fermi-lat/CalibData
CalibData/Acd/AcdCalibBase.h
// $Header: /nfs/slac/g/glast/ground/cvs/CalibData/CalibData/Acd/AcdCalibBase.h,v 1.4 2007/10/09 18:15:21 echarles Exp $ /// @file AcdCalibBase /// @author <NAME> #ifndef CalibData_AcdCalibBase_h #define CalibData_AcdCalibBase_h #include <vector> #include "CalibData/CalibBase.h" #include "CalibData/Acd/AcdCalibEnum.h...
fermi-lat/CalibData
CalibData/Acd/AcdRange.h
<gh_stars>0 // $Header: /nfs/slac/g/glast/ground/cvs/CalibData/CalibData/Acd/AcdRange.h,v 1.1 2007/10/09 18:15:21 echarles Exp $ #ifndef CalibData_AcdRange_h #define CalibData_AcdRange_h #include "CalibData/Acd/AcdCalibObj.h" #include "CalibData/CalibModel.h" #include "CalibData/Acd/AcdCalibEnum.h" namespace CalibDat...
fermi-lat/CalibData
CalibData/Cal/CalCalibGain.h
<filename>CalibData/Cal/CalCalibGain.h // $Header: /nfs/slac/g/glast/ground/cvs/CalibData/CalibData/Cal/CalCalibGain.h,v 1.3 2003/02/27 01:02:24 jrb Exp $ #ifndef CalibData_CalCalibGain_h #define CalibData_CalCalibGain_h #include "CalibData/Cal/CalCalibBase.h" #include "CalibData/Cal/Gain.h" #include "CalibData/CalibM...
fermi-lat/CalibData
CalibData/Cal/CalTholdMuon.h
<reponame>fermi-lat/CalibData // $Header: $ /// @file CalTholdMuon.h /** This file contains class definitions corresponding to the calibration type CAL_TholdMuon. Two classes are defined. One, CalTholdMuon, is the data pertaining to a single crystal face. The other, CalTholdMuonCol, is a collection of...
fermi-lat/CalibData
CalibData/Acd/AcdCheck.h
<reponame>fermi-lat/CalibData<filename>CalibData/Acd/AcdCheck.h // $Header: /nfs/slac/g/glast/ground/cvs/CalibData/CalibData/Acd/AcdVeto.h,v 1.4 2008/01/23 23:42:38 echarles Exp $ #ifndef CalibData_AcdCheck_h #define CalibData_AcdCheck_h #include "CalibData/Acd/AcdCalibObj.h" #include "CalibData/CalibModel.h" #include...