Thu Oct 11 06:44:44 2012

Asterisk developer's documentation


ast_imager Struct Reference

structure associated with registering an image format More...

#include <image.h>

Collaboration diagram for ast_imager:

Collaboration graph
[legend]

Public Member Functions

 AST_LIST_ENTRY (ast_imager) list

Data Fields

char * desc
char * exts
int format
int(* identify )(int fd)
char * name
struct 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.


Member Function Documentation

AST_LIST_ENTRY ( ast_imager   ) 

For linked list


Field Documentation

char* desc

Description

Definition at line 31 of file image.h.

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

char* exts

Extension(s) (separated by '|' )

Definition at line 33 of file image.h.

Referenced by ast_read_image(), show_image_formats(), and show_image_formats_deprecated().

int format

Image format

Definition at line 35 of file image.h.

Referenced by ast_read_image(), show_image_formats(), and show_image_formats_deprecated().

int(* identify)(int fd)

Identify if this is that type of file

Referenced by ast_read_image().

char* name

struct ast_frame*(* read_image)(int fd, int len) [read]

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 Thu Oct 11 06:44:45 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6