blob: a5c2120d5ce75616f4899b146d41ade643a401eb [file] [log] [blame]
Emil Velikovb0d4ee62015-03-31 19:51:45 +01001#!/bin/bash
2
3# The following symbols (past the first five) are taken from the public headers.
4# A list of the latter should be available Makefile.sources/LIBKMS_H_FILES
5
Heiko Becker4f08bfe2018-02-19 15:13:15 +00006FUNCS=$($NM -D --format=bsd --defined-only ${1-.libs/libkms.so} | awk '{print $3}'| while read func; do
Emil Velikovb0d4ee62015-03-31 19:51:45 +01007( grep -q "^$func$" || echo $func ) <<EOF
8__bss_start
9_edata
10_end
11_fini
12_init
13kms_bo_create
14kms_bo_destroy
15kms_bo_get_prop
16kms_bo_map
17kms_bo_unmap
18kms_create
19kms_destroy
20kms_get_prop
21EOF
22done)
23
24test ! -n "$FUNCS" || echo $FUNCS
25test ! -n "$FUNCS"