File: handshake.c.x

package info (click to toggle)
lsh-utils 2.1-12
  • links: PTS
  • area: main
  • in suites: buster
  • size: 12,884 kB
  • sloc: ansic: 51,017; sh: 5,683; lisp: 657; makefile: 381; perl: 63
file content (31 lines) | stat: -rw-r--r-- 741 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
CLASS:connection_line_handler:line_handler
*/
#ifndef GABA_DEFINE
struct connection_line_handler
{
  struct line_handler super;
  struct ssh_connection *connection;
};
extern struct lsh_class connection_line_handler_class;
#endif /* !GABA_DEFINE */

#ifndef GABA_DECLARE
static void
do_connection_line_handler_mark(struct lsh_object *o,
  void (*mark)(struct lsh_object *o))
{
  struct connection_line_handler *i = (struct connection_line_handler *) o;
  mark((struct lsh_object *) i->connection);
}
struct lsh_class connection_line_handler_class =
{
  STATIC_HEADER,
  &(line_handler_class),
  "connection_line_handler",
  sizeof(struct connection_line_handler),
  do_connection_line_handler_mark,
  NULL,
};
#endif /* !GABA_DECLARE */