Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F628162
itload.c
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
itload.c
View Options
/* _______ ____ __ ___ ___
* \ _ \ \ / \ / \ \ / / ' ' '
* | | \ \ | | || | \/ | . .
* | | | | | | || ||\ /| |
* | | | | | | || || \/ | | ' ' '
* | | | | | | || || | | . .
* | |_/ / \ \__// || | |
* /_______/ynamic \____/niversal /__\ /____\usic /| . . ibliotheque
* / \
* / . \
* itload.c - Code to read an Impulse Tracker / / \ \
* file, opening and closing it for | < / \_
* you. | \/ /\ /
* \_ / > /
* By entheh. Don't worry Bob, you're credited | \ / /
* in itread.c! | ' /
* \__/
*/
#include
"dumb.h"
#include
"internal/it.h"
/* dumb_load_it_quick(): loads an IT file into a DUH struct, returning a
* pointer to the DUH struct. When you have finished with it, you must pass
* the pointer to unload_duh() so that the memory can be freed.
*/
DUH
*
dumb_load_it_quick
(
const
char
*
filename
)
{
DUH
*
duh
;
DUMBFILE
*
f
=
dumbfile_open
(
filename
);
if
(
!
f
)
return
NULL
;
duh
=
dumb_read_it_quick
(
f
);
dumbfile_close
(
f
);
return
duh
;
}
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Sun, Nov 15, 3:20 AM (1 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
140010
Default Alt Text
itload.c (1 KB)
Attached To
Mode
R75 R-Tech1
Attached
Detach File
Event Timeline