text
stringlengths
4
6.14k
#ifndef U_UTIL #define U_UTIL int u_format(int diskSizeBytes, char* file_name); int recover_file_system(char *file_name); int u_clean_shutdown(); #endif
/* * Copyright (C) 2012 KangHua <kanghua151@gmail.com> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 as published by * the Free Software Foundation. */ #include <string.h> #include "cache.h" #include "cache_helper.h" ...
#ifndef __GTK_SOUND_DRIVER_SDL_H #define __GTK_SOUND_DRIVER_SDL_H #include "SDL.h" #include "gtk_sound.h" #include "gtk_sound_driver.h" class S9xSDLSoundDriver : public S9xSoundDriver { public: S9xSDLSoundDriver (void); void init (void); void terminate (void); bool8 open_device (v...
/** ****************************************************************************** * @file PWR/PWR_BOR/Inc/stm32f4xx_it.h * @author MCD Application Team * @version V1.2.3 * @date 09-October-2015 * @brief This file contains the headers of the interrupt handlers. ***************************...
/** * debug.c * * Better debug log messages. * * (c) 2017 Simon Brooke <simon@journeyman.cc> * Licensed under GPL version 2.0, or, at your option, any later version. */ #include <ctype.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /* * wide characters */ #include <wchar.h> ...
#include "tintin.h" #include "kbtree.h" #include "protos/print.h" #include "protos/utils.h" /**/ KBTREE_CODE(str, char*, strcmp) kbtree_t(str)* init_slist(void) { return kb_init(str, KB_DEFAULT_SIZE); } void kill_slist(kbtree_t(str) *l) { kbitr_t itr; kb_itr_first(str, l, &itr); for (; kb_itr_valid(...
/**************************************************************************** ** ** This file is part of the Qtopia Opensource Edition Package. ** ** Copyright (C) 2008 Trolltech ASA. ** ** Contact: Qt Extended Information (info@qtextended.org) ** ** This file may be used under the terms of the GNU General Public Licen...
#include "nid_core.h" #include "nid_event.h" #ifdef NID_HAVE_EPOLL extern int32_t nid_event_create(void) { return epoll_create1(0); } extern int32_t nid_event_add(int32_t handle, int32_t fd, int32_t events) { struct epoll_event env = {}; env.events = (uint32_t)events | EPOLLET; env.data.fd = fd; ...
/* cluvirtadm - client for cluvirtd daemons. Copyright (C) 2009 Federico Simoncelli <federico.simoncelli@nethesis.it> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License,...
/* * $Id: socket.c,v 1.6 2005/01/01 15:27:54 baum Exp $ * * This file implements the socket widget * * Copyright (c) 2001 - 2005 Peter G. Baum http://www.dr-baum.net * * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * */ /* ...
/** This file is part of Critter. Copyright (c) 2009 Robin Southern, http://www.nxogre.org 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, i...
/* * Copyright 2012 Linaro Ltd. * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.htm...
#ifndef ADDEMPLOYEEDIALOG_H #define ADDEMPLOYEEDIALOG_H #include <QDialog> #include <QSqlQuery> namespace Ui { class AddEmployeeDialog; } class AddEmployeeDialog : public QDialog { Q_OBJECT public: explicit AddEmployeeDialog(QSqlQuery *q, QWidget *parent = 0); ~AddEmployeeDialog(); private slots: v...
/* * fscanf is similar in functionality to scanf apart from the fact * that it reads from a stream. * * int fscanf(FILE * restrict stream, const char * format, ...); */ #include<stdio.h> int main() { int a, b; printf( "Enter the two numbers:" ); /* Similar to scanf( "%d %d", &a, &b ); */ fscanf( stdin, "%d %d", ...
/* * Copyright (c) 2015, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
/* * Copyright (c) 2002-2003 Jesper K. Pedersen <blackie@kde.org> * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public * License version 2 as published by the Free Software Foundation. * * This library is distributed in the hope that...
/* * Copyright (C) 2013 Tobias Brunner * Hochschule fuer Technik Rapperswil * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the * Free Software Foundation; either version 2 of the License, or (at your * option) any la...
/********************************************************************** Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eith...
/**************************************************************************** * * * X X ******* ** ** ****** ** ** ****** * * X X ******** *** *** ******** ** ** ******** \\._.// * * X...
/* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A P...
/******************************************************************** KWin - the KDE window manager This file is part of the KDE project. Copyright (C) 2015 Martin Gräßlin <mgraesslin@kde.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License a...
#ifndef DOMLETTE_XPATHNAMESPACE_H #define DOMLETTE_XPATHNAMESPACE_H #ifdef __cplusplus extern "C" { #endif #include "Python.h" #include "node.h" #include "element.h" typedef struct { PyNode_HEAD PyObject *nodeName; PyObject *nodeValue; } PyXPathNamespaceObject; #define XPathNamespace_GET_NAME(op) \ ...
/* propertypaletteeditor.h This file is part of GammaRay, the Qt application inspection and manipulation tool. Copyright (C) 2012-2014 Klarälvdalens Datakonsult AB, a KDAB Group company, info@kdab.com Author: Volker Krause <volker.krause@kdab.com> This program is free software; you can redistribute it an...
#include <pwd.h> #include <stdlib.h> #include <unistd.h> #include "strerr.h" #include "auto_home.h" #include "generic-conf.h" #define FATAL "axfrdns-conf: fatal: " void usage(void) { strerr_die1x(100,"axfrdns-conf: usage: axfrdns-conf acct logacct /axfrdns /tinydns myip"); } char *dir; char *user; char *loguser; ...
/* created by click/linuxmodule/fixincludes.pl on Tue Nov 25 22:39:41 2014 */ /* from /lib/modules/2.6.27.5-117.fc10.i686/build/include/asm/mach-summit/mach_apicdef.h */ #ifndef __ASM_MACH_APICDEF_H #if defined(__cplusplus) && !CLICK_CXX_PROTECTED # error "missing #include <click/cxxprotect.h>" #endif #define __ASM_MAC...
/* * statfs() emulation for MiNT/TOS * * Written by Adrian Ashley (adrian@secret.uucp) * and placed in the public domain. * * Modified for MiNT 1.15 by Chris Felsch. */ #include <errno.h> #include <osbind.h> #include <mintbind.h> #include <unistd.h> #include <limits.h> #include <support.h> #include <string.h> ...
/*********** ECA_MemAllocs * * This is a c source code file to make Eric Anderson's * "ECA_MemAllocs" library which includes routines for allocating * memory. Nothing really fancy. Just some functions and * macros that make it so that the program will exit if a ECA_MALLOC * or ECA_CALLOC call fails, and a couple...
struct c { int a; }; enum b { c, }; struct a { enum b c; };
/***************************************************************************** * flv_bytestream.h: flv muxer utilities ***************************************************************************** * Copyright (C) 2009-2012 x264 project * * Authors: Kieran Kunhya <kieran@kunhya.com> * * This program is fre...
/* Copyright 2007 The MathWorks, Inc. */ /* * File: PCG_Eval_CodeMetrics_2.c * * Real-Time Workshop code generated for Simulink model PCG_Eval_CodeMetrics_2. * * Model version : 1.229 * Real-Time Workshop file version : 6.6 (R2007b) 27-Jan-2007 * Real-Time Workshop file generated on...
/* ============================================================ * * This file is a part of kipi-plugins project * http://www.digikam.org * * Date : 2003-10-01 * Description : a plugin to export to a remote Gallery server. * * Copyright (C) 2003-2005 by Renchi Raju <renchi dot raju at gmail dot com> * Co...
/* netxray.h * * $Id: netxray.h 43536 2012-06-28 22:56:06Z darkjames $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free So...
/* * Read an unsigned char from given IO channel */ unsigned char inportb(unsigned short _port) { unsigned char c; __asm__ __volatile__ ("inb %1, %0" : "=a" (c) : "dN" (_port)); return c; } /* * Write an unsigned char to given IO channel */ void outportb(unsigned short _port, unsigned char _data) { __asm__ __...
/* * The ManaPlus Client * Copyright (C) 2009 The Mana World Development Team * Copyright (C) 2009-2010 The Mana Developers * Copyright (C) 2011-2013 The ManaPlus Developers * * This file is part of The ManaPlus Client. * * This program is free software; you can redistribute it and/or modify * it und...
/* htop - generic/gettime.c (C) 2021 htop dev team Released under the GNU GPLv2+, see the COPYING file in the source distribution for its full text. */ #include "config.h" // IWYU pragma: keep #include "generic/gettime.h" #include <string.h> #include <time.h> void Generic_gettime_realtime(struct timeval* tvp, uint...
/* * Spanning tree protocol; BPDU handling * Linux ethernet bridge * * Authors: * Lennert Buytenhek <buytenh@gnu.org> * * $Id: br_stp_bpdu.c,v 1.1.1.1 2007/10/15 18:22:56 ronald Exp $ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public Licen...
/*************************************************************************** addlinkdialog.h - K Desktop Planetarium ------------------- begin : Sun Oct 21 2001 copyright : (C) 2001 by Jason Harris email : ksta...
#ifndef __CORESRV_FS_FAT16_H__ #define __CORESRV_FS_FAT16_H__ #include <hellbender/fs/vfs.h> #include <hellbender/dev/bdev.h> typedef struct fat16_op { int (*create)(vfs_node_t *dev, vfs_fs_t *fs); } fat16_op_t; typedef void (*fat16_bind_t)(fat16_op_t *fat16_op); #define FAT16_ID "coresrv::fs::fat16" #define FAT16...
/********************************************************************** * Copyright (C) (2004) (Jack Louis) <jack@rapturesecurity.org> * * * * This program is free software; you can redistribute it and/or * * modify it under the terms of ...
/*************************************************************************** * Copyright (C) 1999 - 2019 by Mike McLean * * libolt@libolt.net * * * * This pr...
/*************************************************************************** * Copyright (C) 2006 by Peter Penz * * peter.penz@gmx.at * * * * This pr...
/* Amiga AHI driver for Extended Module Player * Based on a MikMod driver written by Szilard Biro, which was loosely * based on an old AmigaOS4 version by Fredrik Wikstrom. * * This file is part of the Extended Module Player and is distributed * under the terms of the GNU General Public License. See the COPYING *...
/***************************************************************************** * Copyright 2006 - 2008 Broadcom Corporation. All rights reserved. * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the...
/* early printk support * * Copyright (c) 2009 Philippe Vachon <philippe@cowpig.ca> * Copyright (c) 2009 Lemote Inc. * Author: Wu Zhangjin, wuzhangjin@gmail.com * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published b...
/* cmdline.h - Command-line parser interface. Copyright (C) 2002 Alexios Chouchoulas This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any late...
// generated by Fast Light User Interface Designer (fluid) version 1.0302 #ifndef CrashHandler_h #define CrashHandler_h #include <FL/Fl.H> #include <FL/Fl_Double_Window.H> #include <FL/Fl_Box.H> #include <FL/Fl_Text_Display.H> #include <FL/Fl_Button.H> extern void send_report(Fl_Button*, void*); class CrashHandlerDlg...
/* * FreeRTOS Kernel V10.1.1 * Copyright (C) 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * 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, ...
// -------------------------------------------------------------------------- // File: io_float.h // // Purpose: Routines to handle floating-point // // Author: Michael S. A. Robb // // Date: 2005/01/27 // --------------------------------------------------------------------------- #ifndef _IO_FLOAT_H_ #define _I...
/* UOL Messenger * Copyright (c) 2005 Universo Online S/A * * Direitos Autorais Reservados * All rights reserved * * Este programa é software livre; você pode redistribuí-lo e/ou modificá-lo * sob os termos da Licença Pública Geral GNU conforme publicada pela Free * Software Foundation; tanto a versão 2 da Lice...
/* * core/Defintions.h * avida-core * * Created by David on 4/17/11. * Copyright 2011 Michigan State University. All rights reserved. * http://avida.devosoft.org/ * * * This file is part of Avida. * * Avida is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser Ge...
/* * Copyright (C) 2016 Richtek Technology Corp. * * Author: TH <tsunghan_tsai@richtek.com> * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * This program is distributed in t...
/* Copyright (c) 2008-2010 Gordon Gremme <gremme@zbh.uni-hamburg.de> Copyright (c) 2008 Center for Bioinformatics, University of Hamburg Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this ...
/*************************************************************************** qgssearchquerybuilder.h - Query builder for search strings ---------------------- begin : March 2006 copyright : (C) 2006 by Martin Dobias email : wonder.sk at gmail dot com ******...
#ifndef GLUT_KEY_H_ #define GLUT_KEY_H_ #define GLUT_KEY_ENTER 13 #define GLUT_KEY_ESC 27 #define GLUT_KEY_SPACE 32 #define GLUT_KEY_BACKSPACE 8 #define GLUT_KEY_COMMA 44 #define GLUT_KEY_DOT 46 #define GLUT_KEY_HIPHEN 45 #define GLUT_KEY_A 97 #define GLUT_KEY_B 98 #define GLUT_KEY_C 99 #define GLUT_KEY_D 100 #define...
#ifndef OCEANBASE_OBSQL_SERVER_STATS_H #define OCEANBASE_OBSQL_SERVER_STATS_H #include <set> #include <vector> #include <string> #include "common/ob_define.h" #include "common/ob_statistics.h" #include "stats.h" #include "client_rpc.h" namespace sb { namespace obsql { struct Present { public: enum { PerSecond...
/* * This file is part of the KDE project * * Copyright (c) Michael Thaler <michael.thaler@physik.tu-muenchen.de> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of ...
#include "ymx2d.h" #ifndef YMX2D_FUNCTION_CLASS_FORM_H #define YMX2D_FUNCTION_CLASS_FORM_H enum YMX2D_API YMXBUTTON_STATE { YMXBUTTON_NORMAL = 0, YMXBUTTON_PRESSED = 1, YMXBUTTON_MOUSEOVER = 2, YMXBUTTON_DISABLED = 3 }; enum YMX2D_API YMXLISTVIEW_STATE { YMXLISTVIEW_NORMAL = 0, YMXLISTVIEW_PRESSED = 1, YMXLIS...
#include "Sensor.h" #include <Wire.h> class pHSensor : public Sensor { public: static const int id = 5; char* getName(); pHSensor(byte port, byte address, byte powerPortNo); void setup(); void measure(int* data); private: int address; Port powerPort; };
/* * This is a DIDS (Duplicate Image Detection System) helper module. * This module provides a linked list of PPMs. * Please see the README file for further details. * * Copyright (C) 2000-2021 Michael John Bruins, BSc. * * This program is free software; you can redistribute it and/or modify * it unde...
/// /// \file ClickImage.h /// Clickable image class /// /* Copyright (C) 2009-2013, Net Direct Inc. (http://www.netdirect.ca/) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; eithe...
/* * This file is part of libdvdnav, a DVD navigation library. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published by * the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later ver...
/* $XConsortium: AuUnlock.c,v 1.10 94/04/17 20:15:44 rws Exp $ */ /* Copyright (c) 1988 X Consortium 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 limit...
/* SPDX-License-Identifier: GPL-2.0-only */ /* * This file is created based on Intel Alder Lake Processor CPU Datasheet * Document number: 619501 * Chapter number: 14 */ #include <console/console.h> #include <device/pci.h> #include <device/pci_ids.h> #include <cpu/x86/lapic.h> #include <cpu/x86/mp.h> #include <cp...
/* Copyright (c) 2007 Gordon Gremme <gremme@zbh.uni-hamburg.de> Copyright (c) 2007 Center for Bioinformatics, University of Hamburg Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission...
/**************************************************************************** ** $Id: qpolygonscanner.h 69 2006-03-18 18:13:09Z dmik $ ** ** Definition of QPolygonScanner class ** ** Created : 000120 ** ** Copyright (C) 1999-2000 Trolltech AS. All rights reserved. ** ** This file is part of the kernel module of the Qt...
/*************************************************************************** * Copyright (C) 2011 by Ralf Kaestner * * ralf.kaestner@gmail.com * * * * This pr...
/* * LSAPIC Interrupt Controller * * This takes care of interrupts that are generated by the CPU's * internal Streamlined Advanced Programmable Interrupt Controller * (LSAPIC), such as the ITC and IPI interrupts. * * Copyright (C) 1999 VA Linux Systems * Copyright (C) 1999 Walt Drummond <drummond@valinux.com...
/* Project.h * Copyright (C) 2004 Mathieu Guindon, Julien Keable * This file is part of Drone. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at ...
#ifndef __KMOD_CAPWAP_PRIVATE_HEADER__ #define __KMOD_CAPWAP_PRIVATE_HEADER__ /* */ struct sc_capwap_workthread { struct task_struct* thread; struct sk_buff_head queue; wait_queue_head_t waitevent; }; /* */ int sc_capwap_init(void); void sc_capwap_close(void); /* */ int sc_capwap_connect(const un...
/* user_settings_fipsv2.h * * Copyright (C) 2006-2021 wolfSSL Inc. * * This file is part of wolfSSL. * * wolfSSL is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (...
/* * OpenVirtualization: * For additional details and support contact developer@sierraware.com. * Additional documentation can be found at www.openvirtualization.org * * Copyright (C) 2011 SierraWare * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Gen...
#define BFD_VERSION_DATE 20051116 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_string@
#ifndef LOADDLL_H_INCLUDED #define LOADDLL_H_INCLUDED typedef HMODULE (WINAPI *PLoadLibraryW)(LPCWSTR); typedef HMODULE (WINAPI *PGetModuleHandleW)(LPCWSTR); typedef BOOL (WINAPI *PFreeLibrary)(HMODULE); typedef FARPROC (WINAPI *PGetProcAddress)(HMODULE, char*); typedef DWORD (WINAPI *PGetCurrentDirectoryW...
#include <stdio.h> #include <stdlib.h> #include "pine.h" #include "data.h" #include "hiredis/hiredis.h" #include "htmlgen.h" #define mysql_fatal(mysql) do {\ uwsgi_log("(MYSQL)%s at [%s:%d]\n", mysql_error(mysql), __FILE__, __LINE__); \ abort(); \ } while (0) typedef struct { int id; ConnCtx conn; } ...
// // Copright (c) 2012-2015 Michele Segata <segata@ccs-labs.org> // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Lesser General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later v...
/************************************************************************************* * Estes - Restaurant Point Of Sale * * Copyright (C) 2009 Leonti Bielski * * ...
/* Various stub functions and uIP variables other code might need to * compile. Allows you to save needing to compile all of uIP in just * to get a few things */ #define UIP_CONF_IPV6 1 #include "net/uip.h" #include <stdio.h> #include <arpa/inet.h> #undef uip_buf unsigned char *uip_buf; uint16_t uip_len; #define...
/* tc-m32c.h -- Header file for tc-m32c.c. Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. This file is part of GAS, the GNU Assembler. GAS is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the...
/*===================================================================*/ /* */ /* Mapper 201 (21-in-1) */ /* */ /*==========================...
// Aseprite // Copyright (C) 2001-2015 David Capello // // This program is free software; you can redistribute it and/or modify // it under the terms of the GNU General Public License version 2 as // published by the Free Software Foundation. #pragma once namespace doc { class Palette; } namespace app { std::s...
#include <stdio.h> int main() { int i; int answer; int found = 0; int cur = 20; while( !found ){ cur++; found = 1; for( i = 1; i <= 20; i++ ){ if( ( cur % i ) != 0 ){ found = 0; break; } } } printf("%d\n", cur); return 0; }
/* * File: IIntroScreen.h * Author: Rob Parker * * Created on October 13, 2014, 23:11 PM */ #ifndef IINTROSCREEN_H #define IINTROSCREEN_H #include "../../IScreen.h" namespace gs { class IIntroScreen : public IScreen { public: virtual void update() = 0; virtual void render(RenderWindowShPtr) = 0; virtu...
#include "Event.h" #include "DrawingAlgorithm.h" void KeyboardInput_INPUT_CIRCLE(); void KeyboardInput_INPUT_SQUARE(); void KeyboardInput_INPUT_STRETCH(); void KeyboardInput_INPUT_ROTATE(); void KeyboardInput_INPUT_SHEAR();
#ifndef __SRC_CORE_GUI_SLIDER_ #define __SRC_CORE_GUI_SLIDER_ #include <lib/gui/eprogress.h> class eSlider: public eProgress { int incrementation, max, min; gColor activated_left, activated_right; const eWidget *descr; int setProperty( const eString &prop, const eString &val); void gotFocus(); void lostFocus();...
/* Copyright (C) 2003-2005 Peter J. Verveer * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the fo...
// stdafx.h : ±ê׼ϵͳ°üº¬ÎļþµÄ°üº¬Îļþ£¬ // »òÊǾ­³£Ê¹Óõ«²»³£¸ü¸ÄµÄ // ÌØ¶¨ÓÚÏîÄ¿µÄ°üº¬Îļþ // #pragma once #include "targetver.h" #include <stdio.h> #include <tchar.h> #define WIN32_LEAN_AND_MEAN #include <windows.h> // TODO: ÔÚ´Ë´¦ÒýÓóÌÐòÐèÒªµÄÆäËûÍ·Îļþ //----------------------------------...
#undef CONFIG_SX
/* For use with circuit_breaker_switch.c. Look in circuit_breaker_switch_main.c for more information. C. Eric Cashon */ #ifndef __CIRCUIT_BREAKER_SWITCH_H__ #define __CIRCUIT_BREAKER_SWITCH_H__ #include<gtk/gtk.h> G_BEGIN_DECLS #define CIRCUIT_BREAKER_SWITCH_TYPE (circuit_breaker_switch_get_type()) #def...
/* dirlimit.c Copyright (C) 1999-2001 Petr Vandrovec This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ...
/* * Copyright (C) 2016 Jens Georg <mail@jensge.org> * * Authors: Jens Georg <mail@jensge.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at...
#define BFD_VERSION_DATE 20161220 #define BFD_VERSION @bfd_version@ #define BFD_VERSION_STRING @bfd_version_package@ @bfd_version_string@ #define REPORT_BUGS_TO @report_bugs_to@
/** @file remotetcpclient.h * @brief TCP/IP socket based RemoteDatabase implementation */ /* Copyright (C) 2007,2008,2010,2011,2014 Olly Betts * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Founda...
#include <stdio.h> #include <stdlib.h> char *trim (char *str) { char *ibuf, *obuf; if (str) { for (ibuf = obuf = str; *ibuf; ) { while (*ibuf && (isspace (*ibuf))) ibuf++; if (*ibuf && (obuf != str)) ...
/* * connect() emulation for MiNT-Net, (w) '93, kay roemer. */ #include <errno.h> #include <limits.h> #include <string.h> #include <support.h> #include <mint/mintbind.h> #include <sys/socket.h> #include <sys/un.h> #include "mintlib/lib.h" #include "mintsock.h" #include "sockets_global.h" int __connect (int fd, s...
#include <linux/module.h> #include <linux/skbuff.h> #include <linux/init.h> #include <linux/ip.h> #include <linux/netdevice.h> #include <linux/spinlock.h> #include <linux/list.h> #include <linux/netfilter_ipv4.h> #include <net/sock.h> #include <net/route.h> #include <net/icmp.h> #include <linux/udp.h> #include <net/rou...
#include <png.h> #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include "rgba2png.h" int rgba2png(unsigned int * Red, unsigned int * Green, unsigned int * Blue, unsigned int * Alpha, size_t width, size_t height, int nFrames, char...
#ifndef __SND_ADIE_SVC_H_ #define __SND_ADIE_SVC_H_ #define ADIE_SVC_PROG 0x30000002 #define ADIE_SVC_VERS 0x00020003 #define ADIE_SVC_CLIENT_STATUS_FUNC_PTR_TYPE_PROC 0xFFFFFF01 #define SND_ADIE_SVC_CLIENT_REGISTER_PROC 34 #define SND_ADIE_SVC_CONFIG_ADIE_BLOCK_PROC 35 #define SND_ADIE_SVC_CLIENT_DEREGISTER_PROC...
#ifndef __ASM_IDMAP_H #define __ASM_IDMAP_H #include <linux/compiler.h> #include <asm/pgtable.h> /* Tag a function as requiring to be executed via an identity mapping. */ #define __idmap __section(.idmap.text) noinline notrace extern pgd_t *idmap_pgd; void setup_mm_for_reboot(void); #endif /* __ASM_ID...
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */ /** * \file keybindings.h Grab and ungrab keys, and process the key events * * Performs global X grabs on the keys we need to be told about, like * the one to close a window. It also deals with incoming key events. */ /* * Copyright (C) 2001 H...
/* * Packet Filtering System based on BPF / LSF * * Author: Nuno Martins <nuno.martins@caixamagica.pt> * * (c) Copyright Caixa Magica Software, LDA., 2012 * (c) Copyright Universidade Nova de Lisboa, 2010-2011 * * This program is free software; you can redistribute it and/or modify * it under the terms of the...