You could simply include
the WordPress main file that it loads, wp-load.php
or wp-blog-header.php
at the very top of your forum’s header file.
If I’m correct, that should allow you to use WordPress functions inside your forum theme.
Example, at the top of your header, assuming the forum folder is in the root WP folder:
<?php include '../wp-load.php'; ?>