Merge commit 'origin/silc.1.1.branch'
[silc.git] / lib / silcsftp / silcsftp.h
index cf6711fe9b4d7dc194116dd4d48b60a93f90eb0c..d2364146c79f39c5f0254ce317efb6930748471f 100644 (file)
@@ -158,7 +158,7 @@ typedef enum {
  *    server, and by server to return file attributes to the client.
  *
  ***/
-typedef struct {
+typedef struct SilcSFTPAttributesObject {
   SilcUInt32 flags;            /* Flags to indicate present attributes */
   SilcUInt64 size;             /* Sife of the file in bytes */
   SilcUInt32 uid;                      /* Unix user ID */
@@ -186,7 +186,7 @@ typedef struct {
  *    example when reading the contents of a directory.
  *
  ***/
-typedef struct {
+typedef struct SilcSFTPNameObject {
   char **filename;
   char **long_filename;
   SilcSFTPAttributes *attrs;
@@ -410,6 +410,9 @@ typedef void (*SilcSFTPExtendedCallback)(SilcSFTP sftp,
  *    used to read and write the SFTP packets.  The `error_cb' will be called
  *    in case a stream error occurs, such as end of stream.
  *
+ *    If `schedule' is NULL this will call silc_schedule_get_global to try to
+ *    get global scheduler.
+ *
  ***/
 SilcSFTP silc_sftp_client_start(SilcStream stream,
                                SilcSchedule schedule,
@@ -874,6 +877,9 @@ void silc_sftp_extended(SilcSFTP sftp,
  *    responsible of closing and destroying the `stream'.  The `fs' is the
  *    filesystem context allocated by the application.
  *
+ *    If `schedule' is NULL this will call silc_schedule_get_global to try to
+ *    get global scheduler.
+ *
  ***/
 SilcSFTP silc_sftp_server_start(SilcStream stream,
                                SilcSchedule schedule,
@@ -948,7 +954,7 @@ typedef enum {
  *
  * SOURCE
  */
-typedef struct {
+typedef struct SilcSFTPMonitorDataObject {
   SilcSFTPVersion version;     /* _INIT */
   char *name;                  /* _OPEN, _REMOVE, _RENAME, _MKDIR,
                                   _RMDIR, _OPENDIR, _STAT, _LSTAT,