Changeset 1053 for Whitix

Show
Ignore:
Timestamp:
10/03/08 12:03:22 (3 months ago)
Author:
mwhitworth
Message:

Let caller of kfs API deal with name (for devfs and icfs, this points to the object's name).

Location:
Whitix/branches/keobject/include
Files:
6 modified

Legend:

Unmodified
Added
Removed
  • Whitix/branches/keobject/include/console.h

    r964 r1053  
    2020#define CONSOLE_H 
    2121 
    22 #include <device.h> 
     22#include <devices/device.h> 
    2323#include <typedefs.h> 
    2424#include <wait.h> 
     
    4444struct Console 
    4545{        
     46        struct KeDevice device; 
    4647        int currX, currY, currColor; 
    4748        WaitQueue waitQueue; 
  • Whitix/branches/keobject/include/fs/kfs.h

    r964 r1053  
    2323                struct KeFsDir dir; 
    2424                void* file; 
    25                 int (*followLink)(char* buffer, int size); 
     25                int (*followLink)(struct KeFsEntry** dest, struct KeFsEntry* src); 
    2626        }; 
    2727         
    28         char name[0]; 
     28        char* name; 
    2929}; 
    3030 
  • Whitix/branches/keobject/include/fs/super.h

    r853 r1053  
    2727#include <spinlock.h> 
    2828#include <typedefs.h> 
     29#include <devices/sdevice.h> 
    2930 
    3031struct VNode; 
  • Whitix/branches/keobject/include/fs/vfs.h

    r963 r1053  
    2525 
    2626#include <llist.h> 
    27 #include <sdevice.h> 
    2827#include <typedefs.h> 
    2928#include <types.h> 
  • Whitix/branches/keobject/include/string.h

    r608 r1053  
    4545#define ZeroMemory(p,sz) memset((char*)(p),(sz),0) 
    4646 
    47 int sprintf(char* buf,const char* fmt,...); 
    48 int vsprintf(char* buf,const char* fmt,va_list args); 
     47int vsprintf(char* buf,const char* fmt, VaList args); 
     48int vsnprintf(char* buf, int size, const char* fmt, VaList args); 
    4949int toupper(char c); 
    5050 
     
    6262} 
    6363 
     64char* vasprintf(const char* fmt, VaList args); 
    6465 
    6566#endif 
  • Whitix/branches/keobject/include/types.h

    r674 r1053  
    3131typedef long unsigned int time_t; 
    3232 
     33/* Limits */ 
     34#define INT_MAX 0x7fffffffL 
     35 
    3336#endif