]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/ipc/FdNotes.h
Source Format Enforcement (#763)
[thirdparty/squid.git] / src / ipc / FdNotes.h
index 20978ea2c890392d56acbaed1d305bd429d5154e..e9792a25084e7ed9529547b4a239e4e215227664 100644 (file)
@@ -1,10 +1,13 @@
 /*
- * $Id$
- *
- * DEBUG: section 54    Interprocess Communication
+ * Copyright (C) 1996-2021 The Squid Software Foundation and contributors
  *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
+/* DEBUG: section 54    Interprocess Communication */
+
 #ifndef SQUID_IPC_FD_NOTES_H
 #define SQUID_IPC_FD_NOTES_H
 
@@ -14,16 +17,16 @@ namespace Ipc
 /// We cannot send char* FD notes to other processes. Pass int IDs and convert.
 
 /// fd_note() label ID
-typedef enum { fdnNone, fdnHttpSocket, fdnHttpsSocket,
+typedef enum { fdnNone, fdnHttpSocket, fdnHttpsSocket, fdnFtpSocket,
 #if SQUID_SNMP
                fdnInSnmpSocket, fdnOutSnmpSocket,
 #endif
                fdnInIcpSocket, fdnInHtcpSocket, fdnEnd
              } FdNoteId;
 
-extern const char *FdNote(int fdNodeId); ///< converts FdNoteId into a string
+const char *FdNote(int fdNodeId); ///< converts FdNoteId into a string
 
 } // namespace Ipc;
 
-
 #endif /* SQUID_IPC_FD_NOTES_H */
+