X7ROOT File Manager
Current Path:
/opt/alt/libc-client11/include/c-client
opt
/
alt
/
libc-client11
/
include
/
c-client
/
??
..
??
c-client.h
(1.65 KB)
??
dummy.h
(1.49 KB)
??
env.h
(1.47 KB)
??
env_unix.h
(2.86 KB)
??
fdstring.h
(1.05 KB)
??
flockcyg.h
(1.34 KB)
??
flocksim.h
(4.29 KB)
??
flstring.h
(799 B)
??
fs.h
(905 B)
??
ftl.h
(825 B)
??
imap4r1.h
(8.01 KB)
??
linkage.c
(1.2 KB)
??
linkage.h
(541 B)
??
mail.h
(66.8 KB)
??
misc.h
(3.27 KB)
??
netmsg.h
(987 B)
??
newsrc.h
(1.45 KB)
??
nl.h
(939 B)
??
nntp.h
(1.58 KB)
??
os_a32.h
(1.2 KB)
??
os_a41.h
(1.2 KB)
??
os_a52.h
(1.27 KB)
??
os_aix.h
(1.1 KB)
??
os_aos.h
(1.26 KB)
??
os_art.h
(2.01 KB)
??
os_asv.h
(1.91 KB)
??
os_aux.h
(1.18 KB)
??
os_bsd.h
(1.33 KB)
??
os_bsf.h
(1.05 KB)
??
os_bsi.h
(1.03 KB)
??
os_cvx.h
(1.09 KB)
??
os_cyg.h
(1.6 KB)
??
os_d-g.h
(1.35 KB)
??
os_do4.h
(1.23 KB)
??
os_drs.h
(1.42 KB)
??
os_dyn.h
(1.5 KB)
??
os_hpp.h
(1.36 KB)
??
os_isc.h
(1.68 KB)
??
os_lnx.h
(1.45 KB)
??
os_lyn.h
(1.03 KB)
??
os_mct.h
(1.05 KB)
??
os_mnt.h
(1.18 KB)
??
os_nto.h
(1.64 KB)
??
os_nxt.h
(1.18 KB)
??
os_os4.h
(1.17 KB)
??
os_osf.h
(1.17 KB)
??
os_osx.h
(1.26 KB)
??
os_ptx.h
(1.7 KB)
??
os_pyr.h
(1.42 KB)
??
os_qnx.h
(1.42 KB)
??
os_s40.h
(957 B)
??
os_sc5.h
(1.72 KB)
??
os_sco.h
(1.76 KB)
??
os_sgi.h
(1.36 KB)
??
os_shp.h
(1.36 KB)
??
os_slx.h
(1.45 KB)
??
os_soln.h
(1.93 KB)
??
os_solo.h
(1.9 KB)
??
os_sos.h
(1.17 KB)
??
os_sua.h
(1.16 KB)
??
os_sun.h
(1.28 KB)
??
os_sv2.h
(2.91 KB)
??
os_sv4.h
(1.79 KB)
??
os_ult.h
(1.01 KB)
??
os_vu2.h
(2.34 KB)
??
osdep.h
(1.45 KB)
??
pseudo.h
(838 B)
??
rfc822.h
(5.29 KB)
??
shortsym.h
(17.65 KB)
??
smtp.h
(2.48 KB)
??
sslio.h
(2.25 KB)
??
tcp.h
(1.73 KB)
??
tcp_unix.h
(1.2 KB)
??
unix.h
(6.55 KB)
??
utf8.h
(22.43 KB)
??
utf8aux.h
(1.49 KB)
Editing: misc.h
/* ======================================================================== * 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);
Upload File
Create Folder