Module: kamailio
Branch: master
Commit: bdae2469ab839ce87f3fca2a5fee6e7b1f9be9c5
URL:
https://github.com/kamailio/kamailio/commit/bdae2469ab839ce87f3fca2a5fee6e7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2024-12-05T17:03:22+01:00
lib/print: relocated to archive
---
Removed: src/lib/print/.cvsignore
Removed: src/lib/print/CMakeLists.txt
Removed: src/lib/print/Makefile
Removed: src/lib/print/README
Removed: src/lib/print/print.c
Removed: src/lib/print/print.h
---
Diff:
https://github.com/kamailio/kamailio/commit/bdae2469ab839ce87f3fca2a5fee6e7…
Patch:
https://github.com/kamailio/kamailio/commit/bdae2469ab839ce87f3fca2a5fee6e7…
---
diff --git a/src/lib/print/.cvsignore b/src/lib/print/.cvsignore
deleted file mode 100644
index ba8401cbc92..00000000000
--- a/src/lib/print/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-libprint.so.*
-
diff --git a/src/lib/print/CMakeLists.txt b/src/lib/print/CMakeLists.txt
deleted file mode 100644
index 25b8dcb2c86..00000000000
--- a/src/lib/print/CMakeLists.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-cmake_minimum_required(VERSION 3.10)
-
-project(kamailio_lib_print VERSION 1.2.1)
-
-file(GLOB SRC_FILES "*.c")
-
-# Original target to be named as folder, so when included from lib/CMakeLists.txt
-# it will be named as lib/ims.so
-add_library(lib_print SHARED ${SRC_FILES})
-
-target_link_libraries(lib_print common kamailio)
-
-# TODO: do we need version control?
-set_target_properties(
- lib_print PROPERTIES VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
- OUTPUT_NAME print
-)
-set_target_properties(lib_print PROPERTIES SOVERSION ${PROJECT_VERSION_MAJOR})
diff --git a/src/lib/print/Makefile b/src/lib/print/Makefile
deleted file mode 100644
index 731ffea2e5b..00000000000
--- a/src/lib/print/Makefile
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# example library makefile
-#
-
-include ../../Makefile.defs
-auto_gen=
-NAME:=print
-MAJOR_VER=1
-MINOR_VER=2
-BUGFIX_VER=1
-LIBS=
-
-include ../../Makefile.libs
-
diff --git a/src/lib/print/README b/src/lib/print/README
deleted file mode 100644
index 0d1a5f496d6..00000000000
--- a/src/lib/print/README
+++ /dev/null
@@ -1,11 +0,0 @@
-example print library
---------------
-
-
-Description:
-------------
-
-This library is an example on how to implement a ser specific library
-(see the Makefile).
-See also modules/print_lib for a library usage example.
-
diff --git a/src/lib/print/print.c b/src/lib/print/print.c
deleted file mode 100644
index c2783d096f9..00000000000
--- a/src/lib/print/print.c
+++ /dev/null
@@ -1,12 +0,0 @@
-/*
- * example library
- */
-
-
-#include <stdio.h>
-
-int stderr_println(char *text)
-{
- fprintf(stderr, "%s\n", text);
- return 0;
-}
diff --git a/src/lib/print/print.h b/src/lib/print/print.h
deleted file mode 100644
index 4fd823c5002..00000000000
--- a/src/lib/print/print.h
+++ /dev/null
@@ -1,7 +0,0 @@
-
-#ifndef _print_h
-#define _print_h
-
-int stderr_println(char *text);
-
-#endif