Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 2005 Pekka Riikonen
+ Copyright (C) 2005 - 2006 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#include "silc.h"
+/************************** Types and definitions ***************************/
+
#define SILC_IS_FD_STREAM(s) (s->ops == &silc_fd_stream_ops)
const SilcStreamOps silc_fd_stream_ops;
int error;
} *SilcFDStream;
+
+/************************ Static utility functions **************************/
+
/* The IO process callback that calls the notifier callback to upper layer. */
SILC_TASK_CALLBACK(silc_fd_stream_io)
}
}
+
+/****************************** Public API **********************************/
+
/* Create file descriptor stream */
SilcStream silc_fd_stream_create(int fd)