mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
let the past begone in cvs land. welcome to igit igit!
This commit is contained in:
commit
4e601cf1c7
509 changed files with 77963 additions and 0 deletions
33
world/net/spyc/psyc.h
Normal file
33
world/net/spyc/psyc.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
/* this is the development directory for
|
||||
* psyc 1.0.
|
||||
*
|
||||
* the entire net/speck directory has to go
|
||||
* when net/psyc stops being 0.9 and starts
|
||||
* being 1.0.
|
||||
*
|
||||
* please try to make changes by #ifdef SPYC
|
||||
* where possible, only do a plugin replacement
|
||||
* of parse.i
|
||||
*
|
||||
* why do we need this directory? let me explain:
|
||||
* if old and new psyc are to co-exist, we need
|
||||
* differing path names for objects to assign
|
||||
* to the differing ports. even if we merge the
|
||||
* parsers and make them coexist by detecting the
|
||||
* first incoming byte, then we still need a way
|
||||
* to distinguish outgoing PSYC and SPYC.
|
||||
* also, merging the two parsers is not likely or
|
||||
* useful - they are so totally different in
|
||||
* structure - but we can exec the proper ones
|
||||
* from psyclpc or internally, after looking at
|
||||
* the first byte.
|
||||
*/
|
||||
|
||||
#define SPYC
|
||||
|
||||
#define PSYCPARSE_STATE_HEADER 0
|
||||
#define PSYCPARSE_STATE_CONTENT 1
|
||||
#define PSYCPARSE_STATE_BLOCKED 2
|
||||
#define PSYCPARSE_STATE_GREET 3
|
||||
|
||||
#include <psyc.h>
|
Loading…
Add table
Add a link
Reference in a new issue