added the device file
merge older conflicts
This commit is contained in:
parent
29fc5bbb3f
commit
4cafbac227
@ -1,4 +1,8 @@
|
||||
<<<<<<< HEAD
|
||||
# Resources gathering tool
|
||||
=======
|
||||
# synf-sys
|
||||
>>>>>>> 1095ca1 (added the device file)
|
||||
|
||||
System information retrieval software for synf.
|
||||
|
||||
@ -7,3 +11,8 @@ helps users throuble shoot performance issues and do general checkups on devices
|
||||
|
||||
The system code is written in C and will be imported in the backend through cgo.
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
|
||||
>>>>>>> 1095ca1 (added the device file)
|
||||
|
||||
23
source/device.c
Normal file
23
source/device.c
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* =====================================================================================
|
||||
*
|
||||
* Filename: device.c
|
||||
*
|
||||
* Description:
|
||||
*
|
||||
* Version: 1.0
|
||||
* Created: 07/17/25 23:14:35
|
||||
* Revision: none
|
||||
* Compiler: gcc
|
||||
*
|
||||
* Author: YOUR NAME (),
|
||||
* Organization:
|
||||
*
|
||||
* =====================================================================================
|
||||
*/
|
||||
#include <stdlib.h>
|
||||
|
||||
int main() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -22,17 +22,9 @@
|
||||
#include <CoreFoundation/CoreFoundation.h>
|
||||
|
||||
void disk_size();
|
||||
char* disk_partitions();
|
||||
|
||||
|
||||
typedef struct {
|
||||
|
||||
char* partition_name;
|
||||
unsigned long parition_size;
|
||||
|
||||
} partition;
|
||||
|
||||
typedef struct {
|
||||
partition* paritions;
|
||||
long total_disk_size;
|
||||
} disk;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user