diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-31 10:29:50 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-03-31 10:29:50 +0000 |
commit | 7f4ae1ebd634e7bb7ec7e85e39529251f36dfa3b (patch) | |
tree | 8fc86911fe0f6b74bba1c1fbd4a2a3f330aa8287 /include/asterisk/image.h | |
parent | fd244115bbd842332520b177d20de384f5350ad9 (diff) |
removal of trailing whitespace and useless 'extern'
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16653 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/image.h')
-rw-r--r-- | include/asterisk/image.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/include/asterisk/image.h b/include/asterisk/image.h index 32953363e..72d1a4018 100644 --- a/include/asterisk/image.h +++ b/include/asterisk/image.h @@ -26,30 +26,30 @@ /*! \brief structure associated with registering an image format */ struct ast_imager { /*! Name */ - char *name; + char *name; /*! Description */ - char *desc; + char *desc; /*! Extension(s) (separated by '|' ) */ - char *exts; + char *exts; /*! Image format */ - int format; + int format; /*! Read an image from a file descriptor */ - struct ast_frame *(*read_image)(int fd, int len); + struct ast_frame *(*read_image)(int fd, int len); /*! Identify if this is that type of file */ - int (*identify)(int fd); + int (*identify)(int fd); /*! Returns length written */ - int (*write_image)(int fd, struct ast_frame *frame); + int (*write_image)(int fd, struct ast_frame *frame); /*! For linked list */ AST_LIST_ENTRY(ast_imager) list; }; /*! Check for image support on a channel */ -/*! +/*! * \param chan channel to check * Checks the channel to see if it supports the transmission of images * Returns non-zero if image transmission is supported */ -extern int ast_supports_images(struct ast_channel *chan); +int ast_supports_images(struct ast_channel *chan); /*! Sends an image */ /*! @@ -58,25 +58,25 @@ extern int ast_supports_images(struct ast_channel *chan); * Sends an image on the given channel. * Returns 0 on success, -1 on error */ -extern int ast_send_image(struct ast_channel *chan, char *filename); +int ast_send_image(struct ast_channel *chan, char *filename); /*! Make an image */ -/*! +/*! * \param filename filename of image to prepare * \param preflang preferred language to get the image...? * \param format the format of the file * Make an image from a filename ??? No estoy positivo * Returns an ast_frame on success, NULL on failure */ -extern struct ast_frame *ast_read_image(char *filename, const char *preflang, int format); +struct ast_frame *ast_read_image(char *filename, const char *preflang, int format); /*! Register image format */ -/*! +/*! * \param imgdrv Populated ast_imager structure with info to register * Registers an image format * Returns 0 regardless */ -extern int ast_image_register(struct ast_imager *imgdrv); +int ast_image_register(struct ast_imager *imgdrv); /*! Unregister an image format */ /*! @@ -84,13 +84,13 @@ extern int ast_image_register(struct ast_imager *imgdrv); * Unregisters the image format passed in * Returns nothing */ -extern void ast_image_unregister(struct ast_imager *imgdrv); +void ast_image_unregister(struct ast_imager *imgdrv); /*! Initialize image stuff */ /*! * Initializes all the various image stuff. Basically just registers the cli stuff * Returns 0 all the time */ -extern int ast_image_init(void); +int ast_image_init(void); #endif /* _ASTERISK_IMAGE_H */ |