added the device file

merge older conflicts
This commit is contained in:
Abdellah El Morabit 2025-07-17 23:15:29 +02:00
parent 29fc5bbb3f
commit 4cafbac227
3 changed files with 33 additions and 9 deletions

View File

@ -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
View 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;
}

View File

@ -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;