Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

ast_imager Struct Reference

structure associated with registering an image format More...

#include <image.h>

Collaboration diagram for ast_imager:

Collaboration graph
[legend]

Data Fields

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

Detailed Description

structure associated with registering an image format

Definition at line 18 of file image.h.


Field Documentation

char* desc
 

Description

Definition at line 22 of file image.h.

Referenced by ast_image_register(), and ast_image_unregister().

char* exts
 

Extension(s) (separated by '|' )

Definition at line 24 of file image.h.

int format
 

Image format

Definition at line 26 of file image.h.

int(* identify)(int fd)
 

Identify if this is that type of file

char* name
 

Name

Definition at line 20 of file image.h.

Referenced by ast_image_register(), and ast_image_unregister().

struct ast_imager* next
 

For linked list

Definition at line 34 of file image.h.

Referenced by ast_image_register(), and ast_image_unregister().

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

Read an image from a file descriptor

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 Jun 12 16:41:55 2004 for Asterisk by doxygen 1.3.7