How does clion automatically generate function declarations in .c files into .h files?

for example, if I have a function in the c file that I want to export and open to others to call, how can I automatically generate these function declarations into the .h header file?

CPP c
Mar.17,2021
Menu