• R/O
  • SSH
  • HTTPS

liboftp: Commit


Commit MetaInfo

Revisión52 (tree)
Tiempo2010-03-24 16:25:48
Autorhirohitohigashi

Log Message

slide cplusplus extern brace, including struct LIBOFTP.

Cambiar Resumen

Diferencia incremental

--- trunk/liboftp.h (revision 51)
+++ trunk/liboftp.h (revision 52)
@@ -28,6 +28,11 @@
2828
2929
3030 /***** Macros ***************************************************************/
31+
32+#ifdef __cplusplus
33+extern "C" {
34+#endif
35+
3136 /***** Typedefs *************************************************************/
3237 typedef struct
3338 {
@@ -46,10 +51,6 @@
4651
4752 /***** Global variables *****************************************************/
4853 /***** Function prototypes **************************************************/
49-#ifdef __cplusplus
50-extern "C" {
51-#endif
52-
5354 int ftp_initialize( LIBOFTP *ftp );
5455 int ftp_open( LIBOFTP *ftp, const char *host, int port );
5556 int ftp_user( LIBOFTP *ftp, const char *user, const char *pass );
Show on old repository browser