Changeset 167 for trunk/include
- Timestamp:
- Mar 15, 2008, 12:38:20 PM (17 years ago)
- Location:
- trunk/include
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/sh_unix.h
r156 r167 90 90 /* use prelink */ 91 91 #define MODI_PREL (1 << 13) 92 /* get content */ 93 #define MODI_TXT (1 << 14) 94 95 #define SH_TXT_MAX 9200 92 96 93 97 #define MASK_ALLIGNORE_ 0 … … 140 144 time_t ctime; 141 145 142 char linkpath[PATH_MAX];146 char * link_path; 143 147 mode_t linkmode; 144 148 char link_c_mode[11]; -
trunk/include/sh_utils.h
r149 r167 190 190 char * sh_util_basename(const char * fullpath); 191 191 192 /* required size (including terminating NULL) for string of strlen l 193 */ 194 #define SH_B64_SIZ(l) (1 + ((((l) + 2) / 3) * 4)) 195 196 /* return len of encoded string 197 */ 198 size_t sh_util_base64_enc (unsigned char * out, const unsigned char * instr, 199 size_t lin); 200 201 /* return allocated encoded string in out, return its len 202 */ 203 size_t sh_util_base64_enc_alloc (char **out, const char *in, size_t inlen); 204 205 /* return len of decoded string 206 */ 207 size_t sh_util_base64_dec (unsigned char *out, const unsigned char *in, size_t lin); 208 209 /* return allocated decoded string in out, return its len 210 */ 211 size_t sh_util_base64_dec_alloc (unsigned char **out, const unsigned char *in, size_t lin); 212 192 213 #endif -
trunk/include/slib.h
r156 r167 23 23 #include <unistd.h> 24 24 #endif 25 26 #include "sh_string.h" 25 27 26 28 /**************** … … 333 335 SL_TICKET sl_open_rdwr_trunc (const char * fname, int priviledge_mode); 334 336 337 /* Initialize the content sh_string. 338 */ 339 int sl_init_content (SL_TICKET ticket, size_t size); 340 341 /* Get the (pointer to) the content sh_string. 342 */ 343 sh_string * sl_get_content (SL_TICKET ticket); 344 335 345 /* Close file. 336 346 */
Note:
See TracChangeset
for help on using the changeset viewer.