Check-in [77b31a15c4]
Overview
Comment:Ensure C linkage as part of the ABI
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 77b31a15c4d23549c7763b9bb8c496eea9571540ed48ce0e2d9539c2e4e77b16
User & Date: rkeene on 2020-04-17 17:06:01
Other Links: manifest | tags
Context
2024-09-25
18:09
Add license (Tcl-based) Leaf check-in: 92afd4ddd3 user: rkeene tags: trunk
2020-04-17
17:06
Ensure C linkage as part of the ABI check-in: 77b31a15c4 user: rkeene tags: trunk
17:05
Ensure that an standalone XVFS client can co-exist with the server implementation check-in: 997a035b20 user: rkeene tags: trunk
Changes

Modified xvfs-core.h from [8640d3027d] to [71c5a5bc0d].

1
2
3
4
5
6




7
8
9
10
11
12
13
#ifndef XVFS_CORE_H_1B4B28D60EBAA11D5FF85642FA7CA22C29E8E817
#define XVFS_CORE_H_1B4B28D60EBAA11D5FF85642FA7CA22C29E8E817 1

#include <tcl.h>

#define XVFS_PROTOCOL_VERSION 1





typedef const char **(*xvfs_proc_getChildren_t)(const char *path, Tcl_WideInt *count);
typedef const unsigned char *(*xvfs_proc_getData_t)(const char *path, Tcl_WideInt start, Tcl_WideInt *length);
typedef int (*xvfs_proc_getStat_t)(const char *path, Tcl_StatBuf *statBuf);

/*
 * Interface for the filesystem to fill out before registering.






>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef XVFS_CORE_H_1B4B28D60EBAA11D5FF85642FA7CA22C29E8E817
#define XVFS_CORE_H_1B4B28D60EBAA11D5FF85642FA7CA22C29E8E817 1

#include <tcl.h>

#define XVFS_PROTOCOL_VERSION 1

#ifdef __cplusplus
extern "C" {
#endif

typedef const char **(*xvfs_proc_getChildren_t)(const char *path, Tcl_WideInt *count);
typedef const unsigned char *(*xvfs_proc_getData_t)(const char *path, Tcl_WideInt start, Tcl_WideInt *length);
typedef int (*xvfs_proc_getStat_t)(const char *path, Tcl_StatBuf *statBuf);

/*
 * Interface for the filesystem to fill out before registering.
83
84
85
86
87
88
89




 * avoid symbols leaking
 */
#if defined(XVFS_MODE_FLEXIBLE) || defined(XVFS_MODE_STANDALONE)
#include <xvfs-core.c>
#endif

#endif











>
>
>
>
87
88
89
90
91
92
93
94
95
96
97
 * avoid symbols leaking
 */
#if defined(XVFS_MODE_FLEXIBLE) || defined(XVFS_MODE_STANDALONE)
#include <xvfs-core.c>
#endif

#endif

#ifdef __cplusplus
}
#endif