• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asus-wl-520gu-7.0.1.45/src/router/shared.asus/openssl/

Lines Matching refs:BIO

89 #define BIO_TYPE_PROXY_CLIENT	(14|0x0200)		/* client proxy BIO */
90 #define BIO_TYPE_PROXY_SERVER (15|0x0200) /* server proxy BIO */
91 #define BIO_TYPE_NBIO_TEST (16|0x0200) /* server proxy BIO */
94 #define BIO_TYPE_BIO (19|0x0400) /* (half a) BIO pair */
119 #define BIO_CTRL_DUP 12 /* man - extra stuff for 'duped' BIO */
121 /* callback is int cb(BIO *bio,state,ret); */
146 /* Mostly used in the SSL BIO */
185 * BIO *BIO_get_retry_BIO(BIO *bio, int *reason); will walk the BIO
186 * stack and return the 'reason' for the special and the offending BIO.
187 * Given a BIO, BIO_get_retry_reason(bio) will return the code. */
190 /* Returned from the connect BIO when a connect would have blocked */
192 /* Returned from the accept BIO when an accept would have blocked */
195 /* These are passed by the BIO callback */
217 typedef struct bio_st BIO;
226 int (*bwrite)(BIO *, const char *, int);
227 int (*bread)(BIO *, char *, int);
228 int (*bputs)(BIO *, const char *);
229 int (*bgets)(BIO *, char *, int);
230 long (*ctrl)(BIO *, int, long, void *);
231 int (*create)(BIO *);
232 int (*destroy)(BIO *);
233 long (*callback_ctrl)(BIO *, int, bio_info_cb *);
273 DECLARE_STACK_OF(BIO)
277 /* BIO *bio; */ /* this is now in the BIO struct */
290 /* connect BIO stuff */
390 /* BIO *BIO_get_filter_bio(BIO *bio); */
415 int BIO_read_filename(BIO *b,const char *name);
428 * SSL structure. This is because the ssl read BIO is now pointed to by
429 * the next_bio field in the bio. So when you free the BIO, make sure
430 * you are doing a BIO_free_all() to catch the underlying BIO. */
467 size_t BIO_ctrl_pending(BIO *b);
468 size_t BIO_ctrl_wpending(BIO *b);
486 size_t BIO_ctrl_get_write_guarantee(BIO *b);
487 size_t BIO_ctrl_get_read_request(BIO *b);
488 int BIO_ctrl_reset_read_request(BIO *b);
491 /* int BIO_get_ex_num(BIO *bio); */
492 /* void BIO_set_ex_free_func(BIO *bio,int idx,void (*cb)()); */
493 int BIO_set_ex_data(BIO *bio,int idx,void *data);
494 void *BIO_get_ex_data(BIO *bio,int idx);
497 unsigned long BIO_number_read(BIO *bio);
498 unsigned long BIO_number_written(BIO *bio);
503 BIO *BIO_new_file_internal(char *filename, char *mode);
504 BIO *BIO_new_fp_internal(FILE *stream, int close_flag);
510 BIO *BIO_new_file(const char *filename, const char *mode);
511 BIO *BIO_new_fp(FILE *stream, int close_flag);
517 BIO * BIO_new(BIO_METHOD *type);
518 int BIO_set(BIO *a,BIO_METHOD *type);
519 int BIO_free(BIO *a);
520 void BIO_vfree(BIO *a);
521 int BIO_read(BIO *b, void *data, int len);
522 int BIO_gets(BIO *bp,char *buf, int size);
523 int BIO_write(BIO *b, const void *data, int len);
524 int BIO_puts(BIO *bp,const char *buf);
525 int BIO_indent(BIO *b,int indent,int max);
526 long BIO_ctrl(BIO *bp,int cmd,long larg,void *parg);
527 long BIO_callback_ctrl(BIO *b, int cmd, void (*fp)(struct bio_st *, int, const char *, int, long, long));
528 char * BIO_ptr_ctrl(BIO *bp,int cmd,long larg);
529 long BIO_int_ctrl(BIO *bp,int cmd,long larg,int iarg);
530 BIO * BIO_push(BIO *b,BIO *append);
531 BIO * BIO_pop(BIO *b);
532 void BIO_free_all(BIO *a);
533 BIO * BIO_find_type(BIO *b,int bio_type);
534 BIO * BIO_next(BIO *b);
535 BIO * BIO_get_retry_BIO(BIO *bio, int *reason);
536 int BIO_get_retry_reason(BIO *bio);
537 BIO * BIO_dup_chain(BIO *in);
539 int BIO_nread0(BIO *bio, char **buf);
540 int BIO_nread(BIO *bio, char **buf, int num);
541 int BIO_nwrite0(BIO *bio, char **buf);
542 int BIO_nwrite(BIO *bio, char **buf, int num);
545 long BIO_debug_callback(BIO *bio,int cmd,const char *argp,int argi,
548 long _far _loadds BIO_debug_callback(BIO *bio,int cmd,const char *argp,int argi,
553 BIO *BIO_new_mem_buf(void *buf, int len);
575 int BIO_dump(BIO *b,const char *bytes,int len);
576 int BIO_dump_indent(BIO *b,const char *bytes,int len,int indent);
598 BIO *BIO_new_socket(int sock, int close_flag);
599 BIO *BIO_new_fd(int fd, int close_flag);
600 BIO *BIO_new_connect(char *host_port);
601 BIO *BIO_new_accept(char *host_port);
603 int BIO_new_bio_pair(BIO **bio1, size_t writebuf1,
604 BIO **bio2, size_t writebuf2);
605 /* If successful, returns 1 and in *bio1, *bio2 two BIO pair endpoints.
610 void BIO_copy_next_retry(BIO *b);
614 int BIO_printf(BIO *bio, const char *format, ...);
615 int BIO_vprintf(BIO *bio, const char *format, va_list args);
625 /* Error codes for the BIO functions. */