/opt/php_with_imap_client/include
NameSizeModeActions
c-client.h16870644editdlrm
dummy.h15240644editdlrm
env.h15070644editdlrm
env_unix.h29330644editdlrm
fdstring.h10710644editdlrm
flockcyg.h13770644editdlrm
flocksim.h43880644editdlrm
flstring.h7990644editdlrm
fs.h9050644editdlrm
ftl.h8250644editdlrm
imap4r1.h82020644editdlrm
linkage.h5410644editdlrm
mail.h684080644editdlrm
misc.h33510644editdlrm
netmsg.h9870644editdlrm
newsrc.h14860644editdlrm
nl.h9390644editdlrm
nntp.h16180644editdlrm
osdep.h14810644editdlrm
os_a32.h12300644editdlrm
os_a41.h12300644editdlrm
os_a52.h12960644editdlrm
os_aix.h11220644editdlrm
os_aos.h12920644editdlrm
os_art.h20610644editdlrm
os_asv.h19600644editdlrm
os_aux.h12130644editdlrm
os_bsd.h13590644editdlrm
os_bsf.h10770644editdlrm
os_bsi.h10590644editdlrm
os_cvx.h11130644editdlrm
os_cyg.h16340644editdlrm
os_d-g.h13790644editdlrm
os_do4.h12610644editdlrm
os_drs.h14510644editdlrm
os_dyn.h15310644editdlrm
os_hpp.h13920644editdlrm
os_isc.h17220644editdlrm
os_lnx.h14810644editdlrm
os_lyn.h10580644editdlrm
os_mct.h10710644editdlrm
os_mnt.h12050644editdlrm
os_nto.h16800644editdlrm
os_nxt.h12110644editdlrm
os_os4.h11990644editdlrm
os_osf.h11990644editdlrm
os_osx.h12940644editdlrm
os_ptx.h17380644editdlrm
os_pyr.h14570644editdlrm
os_qnx.h14520644editdlrm
os_s40.h9570644editdlrm
os_sc5.h17610644editdlrm
os_sco.h18070644editdlrm
os_sgi.h13960644editdlrm
os_shp.h13920644editdlrm
os_slx.h14810644editdlrm
os_soln.h19810644editdlrm
os_solo.h19490644editdlrm
os_sos.h11990644editdlrm
os_sua.h11850644editdlrm
os_sun.h13070644editdlrm
os_sv2.h29790644editdlrm
os_sv4.h18380644editdlrm
os_ult.h10360644editdlrm
os_vu2.h23960644editdlrm
pseudo.h8380644editdlrm
rfc822.h54210644editdlrm
smtp.h25380644editdlrm
sslio.h23090644editdlrm
tcp.h17750644editdlrm
tcp_unix.h12240644editdlrm
unix.h67110644editdlrm
utf8.h229670644editdlrm
utf8aux.h15290644editdlrm
Edit: /opt/php_with_imap_client/include/misc.h (3351B)
/* ======================================================================== * Copyright 1988-2006 University of Washington * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * * ======================================================================== */ /* * Program: Miscellaneous utility routines * * Author: Mark Crispin * Networks and Distributed Computing * Computing & Communications * University of Washington * Administration Building, AG-44 * Seattle, WA 98195 * Internet: MRC@CAC.Washington.EDU * * Date: 5 July 1988 * Last Edited: 30 August 2006 * * This original version of this file is * Copyright 1988 Stanford University * and was developed in the Symbolic Systems Resources Group of the Knowledge * Systems Laboratory at Stanford University in 1987-88, and was funded by the * Biomedical Research Technology Program of the NationalInstitutes of Health * under grant number RR-00785. */ /* Hash table operations */ #define HASHMULT 29 /* hash polynomial multiplier */ #define HASHENT struct hash_entry HASHENT { HASHENT *next; /* next entry with same hash code */ char *name; /* name of this hash entry */ void *data[1]; /* data of this hash entry */ }; #define HASHTAB struct hash_table HASHTAB { size_t size; /* size of this table */ HASHENT *table[1]; /* table */ }; /* KLUDGE ALERT!!! * * Yes, write() is overridden here instead of in osdep. This * is because misc.h is one of the last files that most things #include, so * this should avoid problems with some system #include file. */ #define write safe_write /* Some C compilers have these as macros */ #undef min #undef max /* And some C libraries have these as int functions */ #define min Min #define max Max /* Compatibility definitions */ #define pmatch(s,pat) \ pmatch_full (s,pat,NIL) /* Function prototypes */ unsigned char *ucase (unsigned char *string); unsigned char *lcase (unsigned char *string); char *cpystr (const char *string); char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); char *textcpy (SIZEDTEXT *dst,SIZEDTEXT *src); char *textcpystring (SIZEDTEXT *text,STRING *bs); char *textcpyoffstring (SIZEDTEXT *text,STRING *bs,unsigned long offset, unsigned long size); unsigned long find_rightmost_bit (unsigned long *valptr); long min (long i,long j); long max (long i,long j); long search (unsigned char *base,long basec,unsigned char *pat,long patc); long ssearch (unsigned char *base,long basec,unsigned char *pat,long patc); HASHTAB *hash_create (size_t size); void hash_destroy (HASHTAB **hashtab); void hash_reset (HASHTAB *hashtab); unsigned long hash_index (HASHTAB *hashtab,char *key); void **hash_lookup (HASHTAB *hashtab,char *key); HASHENT *hash_add (HASHTAB *hashtab,char *key,void *data,long extra); void **hash_lookup_and_add (HASHTAB *hashtab,char *key,void *data,long extra); unsigned char hex2byte (unsigned char c1,unsigned char c2); int compare_ulong (unsigned long l1,unsigned long l2); int compare_uchar (unsigned char c1,unsigned char c2); int compare_cstring (unsigned char *s1,unsigned char *s2); int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);