Permalink
Browse files

Initial commit

Nothing much to see yet.
  • Loading branch information...
pp3345 committed Jun 15, 2013
0 parents commit 1635457979ea38277572d39f498e17909b1e7457
@@ -0,0 +1,22 @@
# Auto detect text files and perform LF normalization
* text=auto
# Custom for Visual Studio
*.cs diff=csharp
*.sln merge=union
*.csproj merge=union
*.vbproj merge=union
*.fsproj merge=union
*.dbproj merge=union
# Standard to msysgit
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
@@ -0,0 +1,220 @@
#################
## Eclipse
#################
*.pydevproject
.project
.metadata
bin/
tmp/
*.tmp
*.bak
*.swp
*~.nib
local.properties
.classpath
.settings/
.loadpath
# External tool builders
.externalToolBuilders/
# Locally stored "Eclipse launch configurations"
*.launch
# CDT-specific
.cproject
# PDT-specific
.buildpath
#################
## Visual Studio
#################
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/
[Rr]elease/
x64/
[Bb]in/
[Oo]bj/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
*_i.c
*_p.c
*.ilk
*.meta
*.obj
*.pch
*.pdb
*.pgc
*.pgd
*.rsp
*.sbr
*.tlb
*.tli
*.tlh
*.tmp
*.tmp_proj
*.log
*.vspscc
*.vssscc
.builds
*.pidb
*.log
*.scc
# Visual C++ cache files
ipch/
*.aps
*.ncb
*.opensdf
*.sdf
*.cachefile
# Visual Studio profiler
*.psess
*.vsp
*.vspx
# Guidance Automation Toolkit
*.gpState
# ReSharper is a .NET coding add-in
_ReSharper*/
*.[Rr]e[Ss]harper
# TeamCity is a build add-in
_TeamCity*
# DotCover is a Code Coverage Tool
*.dotCover
# NCrunch
*.ncrunch*
.*crunch*.local.xml
# Installshield output folder
[Ee]xpress/
# DocProject is a documentation generator add-in
DocProject/buildhelp/
DocProject/Help/*.HxT
DocProject/Help/*.HxC
DocProject/Help/*.hhc
DocProject/Help/*.hhk
DocProject/Help/*.hhp
DocProject/Help/Html2
DocProject/Help/html
# Click-Once directory
publish/
# Publish Web Output
*.Publish.xml
*.pubxml
# NuGet Packages Directory
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
#packages/
# Windows Azure Build Output
csx
*.build.csdef
# Windows Store app package directory
AppPackages/
# Others
sql/
*.Cache
ClientBin/
[Ss]tyle[Cc]op.*
~$*
*~
*.dbmdl
*.[Pp]ublish.xml
*.pfx
*.publishsettings
# RIA/Silverlight projects
Generated_Code/
# Backup & report files from converting an old project file to a newer
# Visual Studio version. Backup files are not needed, because we have git ;-)
_UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
UpgradeLog*.htm
# SQL Server files
App_Data/*.mdf
App_Data/*.ldf
#############
## Windows detritus
#############
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Mac crap
.DS_Store
#############
## Python
#############
*.py[co]
# Packages
*.egg
*.egg-info
dist/
eggs/
parts/
var/
sdist/
develop-eggs/
.installed.cfg
# Installer logs
pip-log.txt
# Unit test / coverage reports
.coverage
.tox
#Translations
*.mo
#Mr Developer
.mr.developer.cfg
# config.h
config.h
# config
config/
@@ -0,0 +1,22 @@
#include "PancakeHTTP.h"
#include "PancakeConfiguration.h"
#ifdef PANCAKE_HTTP
PancakeModule PancakeHTTP = {
"HTTP",
PancakeHTTPInitialize,
NULL,
0
};
UByte PancakeHTTPInitialize() {
PancakeConfigurationGroup *group;
group = PancakeConfigurationAddGroup(NULL, (String) {"HTTP", sizeof("HTTP") - 1}, NULL);
//PancakeConfigurationAddSetting(group, (String) {"VirtualHosts", sizeof("VirtualHosts") - 1}, CONFIG_TYPE_ARRAY, NULL, 0, (config_value_t) 0, NULL);
return 1;
}
#endif
@@ -0,0 +1,14 @@
#ifndef _PANCAKE_HTTP_H
#define _PANCAKE_HTTP_H
#include "Pancake.h"
#ifdef PANCAKE_HTTP
extern PancakeModule PancakeHTTP;
UByte PancakeHTTPInitialize();
#endif
#endif
@@ -0,0 +1,8 @@
AC_ARG_ENABLE([http],
AS_HELP_STRING([--disable-http], [Disable Pancake HTTP module]))
if test "$enable_http" == "" || test "$enable_http" == "yes"; then
PANCAKE_MODULE_HEADERS+="HTTP/PancakeHTTP.h "
PANCAKE_MODULES+="PancakeHTTP "
AC_DEFINE([PANCAKE_HTTP], [1], [Pancake HTTP module])
fi
@@ -0,0 +1,31 @@
#include "PancakeLinuxPoll.h"
#include "PancakeNetwork.h"
#include "PancakeConfiguration.h"
#ifdef PANCAKE_LINUX_POLL
PancakeModule PancakeLinuxPoll = {
"LinuxPoll",
PancakeLinuxPollInitialize,
NULL,
0
};
PancakeServerArchitecture PancakeLinuxPollServer = {
(String) {"LinuxPoll", sizeof("LinuxPoll") - 1},
PancakeLinuxPollWait,
NULL
};
UByte PancakeLinuxPollInitialize() {
PancakeRegisterServerArchitecture(&PancakeLinuxPollServer);
return 1;
}
void PancakeLinuxPollWait() {
}
#endif
@@ -0,0 +1,15 @@
#ifndef _PANCAKE_LINUX_POLL_H
#define _PANCAKE_LINUX_POLL_H
#include "Pancake.h"
#ifdef PANCAKE_LINUX_POLL
extern PancakeModule PancakeLinuxPoll;
UByte PancakeLinuxPollInitialize();
void PancakeLinuxPollWait();
#endif
#endif
@@ -0,0 +1,11 @@
AC_ARG_ENABLE([linux-poll],
[AS_HELP_STRING([--enable-linux-poll], [Enable Pancake Linux epoll server architecture module])],
[])
if test "$enable_linux_poll" == "yes"; then
PANCAKE_MODULE_HEADERS+="LinuxPoll/PancakeLinuxPoll.h "
PANCAKE_MODULES+="PancakeLinuxPoll "
PANCAKE_HAVE_SERVER_ARCHITECTURE=1
AC_DEFINE([PANCAKE_LINUX_POLL], [1], [Pancake LinuxPoll module])
AC_CHECK_HEADER([sys/epoll.h], [], [AC_ERROR([epoll is not available on your system])])
fi
Oops, something went wrong.

0 comments on commit 1635457

Please sign in to comment.