Sat Nov 25 00:46:15 2006

Asterisk developer's documentation


ast_imager Struct Reference

structure associated with registering an image format More...

#include <image.h>


Data Fields

char * desc
char * exts
int format
int(* identify )(int fd)
char * name
ast_imagernext
ast_frame *(* read_image )(int fd, int len)
int(* write_image )(int fd, struct ast_frame *frame)


Detailed Description

structure associated with registering an image format

Definition at line 27 of file image.h.


Field Documentation

char* desc
 

Description

Definition at line 31 of file image.h.

Referenced by ast_image_register(), ast_image_unregister(), and show_image_formats().

char* exts
 

Extension(s) (separated by '|' )

Definition at line 33 of file image.h.

Referenced by ast_read_image(), and show_image_formats().

int format
 

Image format

Definition at line 35 of file image.h.

Referenced by ast_read_image(), and show_image_formats().

int(* identify)(int fd)
 

Identify if this is that type of file

Referenced by ast_read_image().

char* name
 

Name

Definition at line 29 of file image.h.

Referenced by ast_image_register(), ast_image_unregister(), ast_read_image(), ast_remove_hint(), and show_image_formats().

struct ast_imager* next
 

For linked list

Definition at line 43 of file image.h.

Referenced by ast_add_hint(), ast_change_hint(), ast_extension_state_add(), ast_extension_state_del(), ast_image_register(), ast_image_unregister(), ast_read_image(), ast_remove_hint(), ast_unregister_translator(), ast_verbose(), cl_dequeue_chan(), and show_image_formats().

struct ast_frame*(* read_image)(int fd, int len)
 

Read an image from a file descriptor

Referenced by ast_read_image().

int(* write_image)(int fd, struct ast_frame *frame)
 

Returns length written


The documentation for this struct was generated from the following file:
Generated on Sat Nov 25 00:46:15 2006 for Asterisk - the Open Source PBX by  doxygen 1.4.6