]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/other/smux/utils.cpp
Ticket 37. Cycle for added in the TARIFF_DATA_RES & operator() in struct
[stg.git] / projects / stargazer / plugins / other / smux / utils.cpp
index 3160bc5fcf6c33b5bc1d6729c80fb74e2a8f3f21..0ea39bbb39c016193495e7a64365f60e897fbbee 100644 (file)
@@ -48,27 +48,6 @@ OBJECT_IDENTIFIER_set_arcs(oi, arcs, sizeof(arcs[0]), static_cast<unsigned int>(
 return true;
 }
 
-std::string OI2String(OBJECT_IDENTIFIER_t * oi)
-{
-std::string res;
-
-int arcs[1024];
-int count = OBJECT_IDENTIFIER_get_arcs(oi, arcs, sizeof(arcs[0]), 1024);
-
-if (count > 1024)
-    return "";
-
-for (int i = 0; i < count; ++i)
-    {
-    res += ".";
-    std::string arc;
-    strprintf(&arc, "%d", arcs[i]);
-    res += arc;
-    }
-
-return res;
-}
-
 bool SendOpenPDU(int fd)
 {
 const char * description = "Stg SMUX Plugin";