Wed Oct 28 11:46:07 2009

Asterisk developer's documentation


console_video.c File Reference

#include "asterisk.h"
#include <sys/ioctl.h>
#include "asterisk/cli.h"
#include "asterisk/file.h"
#include "asterisk/channel.h"
#include "console_video.h"

Include dependency graph for console_video.c:

Go to the source code of this file.

Functions

int console_video_cli (struct video_desc *env, const char *var, int fd)
int console_video_config (struct video_desc **penv, const char *var, const char *val)
void console_video_start (struct video_desc *env, struct ast_channel *owner)
void console_video_uninit (struct video_desc *env)
int console_write_video (struct ast_channel *chan, struct ast_frame *f)

Variables

int console_video_formats = 0


Function Documentation

int console_video_cli ( struct video_desc *  env,
const char *  var,
int  fd 
)

Definition at line 118 of file console_video.c.

Referenced by console_cmd().

00119 {
00120    return 1;   /* nothing matched */
00121 }

int console_video_config ( struct video_desc **  penv,
const char *  var,
const char *  val 
)

Definition at line 123 of file console_video.c.

Referenced by store_config_core().

00124 {
00125    return 1;   /* no configuration */
00126 }

void console_video_start ( struct video_desc *  env,
struct ast_channel owner 
)

Definition at line 128 of file console_video.c.

References ast_log(), and LOG_NOTICE.

Referenced by oss_new().

00129 {
00130    ast_log(LOG_NOTICE, "voice only, console video support not present\n");
00131 }

void console_video_uninit ( struct video_desc *  env  ) 

Definition at line 133 of file console_video.c.

Referenced by oss_hangup().

00134 {
00135 }

int console_write_video ( struct ast_channel chan,
struct ast_frame f 
)

Definition at line 113 of file console_video.c.

00114 {
00115    return 0;   /* writing video not supported */
00116 }


Variable Documentation

Definition at line 137 of file console_video.c.

Referenced by load_module(), and oss_new().


Generated on Wed Oct 28 11:46:07 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6