ipmi_net_fns will be removed in the future

Since ipmi_net_fns has been replaced by NetFn in api-types.hpp, this
commit is marked and removed on December 31, 2025.

Change-Id: I059f96e4fc18f638df6050c8a28b75dfec44d3fa
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/include/ipmid/api.h b/include/ipmid/api.h
index f5641dd..1a92322 100644
--- a/include/ipmid/api.h
+++ b/include/ipmid/api.h
@@ -81,7 +81,9 @@
 // the proper network function which issued the command
 // associated with a response, subtract 1.
 // Note: these are also shifted left to make room for the LUN.
-enum ipmi_net_fns
+enum __attribute__((deprecated(
+    "Deprecated enum: use netfn values from ipmi-api.hpp; this enum will be removed after 31-Dec-2025")))
+ipmi_net_fns
 {
     NETFUN_CHASSIS = 0x00,
     NETFUN_BRIDGE = 0x02,