|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 22.97 GB of 70.42 GB (32.62%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
src/
maildrop-2.2.0/
rfc2045/
- drwxr-xr-x
|
Viewing file: rfc2045find.c (973 B) -rw-r--r--Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
/* ** Copyright 1998 - 1999 Double Precision, Inc. See COPYING for ** distribution information. */
/* ** $Id: rfc2045find.c,v 1.3 1999/12/06 13:29:02 mrsam Exp $ */ #include "rfc2045.h" #include <ctype.h>
struct rfc2045findstruct {
const char *partnum; struct rfc2045 *ptr; } ;
static void do_decode(struct rfc2045 *p, struct rfc2045id *id, void *ptr) { struct rfc2045findstruct *fs=(struct rfc2045findstruct *)ptr; const char *partnum=fs->partnum; unsigned n;
while (id) { if (!isdigit((int)(unsigned char)*partnum)) return; n=0; while (isdigit((int)(unsigned char)*partnum)) n=n*10 + *partnum++ - '0'; if (*partnum) { if (*partnum != '.') return; ++partnum; } if (n != (unsigned)id->idnum) return; id=id->next; } if ( *partnum == '\0') fs->ptr=p; }
struct rfc2045 *rfc2045_find(struct rfc2045 *p, const char *str) { struct rfc2045findstruct fs;
fs.partnum=str; fs.ptr=0; rfc2045_decode(p, &do_decode, &fs); return (fs.ptr); }
|