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

apps/telnetd/telnetd.h File Reference


Detailed Description

Header file for the telnet server.

Author:
Adam Dunkels <adam@dunkels.com>

#include "uip.h"

Include dependency graph for telnetd.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Data Structures

struct  telnetd_state
 A telnet connection structure. More...


Defines

#define TELNETD_LINELEN
 The maximum length of a telnet line.

#define TELNETD_NUMLINES
 The number of output lines being buffered for all telnet connections.


Functions

void telnetd_connected (struct telnetd_state *s)
 Callback function that is called when a telnet connection has been established.

void telnetd_input (struct telnetd_state *s, char *cmd)
 Callback function that is called when a line of text has arrived on a telnet connection.

void telnetd_close (struct telnetd_state *s)
 Close a telnet session.

void telnetd_output (struct telnetd_state *s, char *s1, char *s2)
 Print out a string on a telnet connection.

void telnetd_prompt (struct telnetd_state *s, char *str)
 Print a prompt on a telnet connection.

void telnetd_init (void)
 Initialize the telnet server.


Generated on Tue Oct 7 15:51:21 2003 for uIP 0.9 by doxygen 1.3.3